#include <iostream>
#include <regex>
#include <string>
using namespace std;

int main() {
	regex r(R"(^#include\s+(\S+)(?=$|\r?\n))");
	string s("#include <stdio.h>\r\n#include <regex>");
	smatch m;
	if (regex_search(s, m, r)) {
		std::cout << m[1] << std::endl;
	}
	return 0;
}