#include <iostream>
#include <cstring>

using namespace std;

int main() {
	using std::strstr;
	char buffer[120000] = "<context>abc</context>";
	char *pc1;
    char *pc2;
    
	pc1 = strstr(buffer, "<context>");
    pc2 = strstr(buffer, "</context>");
    
    while(pc1<=pc2)
       cout << pc1++;
	return 0;
}