#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;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCXVzaW5nIHN0ZDo6c3Ryc3RyOwoJY2hhciBidWZmZXJbMTIwMDAwXSA9ICI8Y29udGV4dD5hYmM8L2NvbnRleHQ+IjsKCWNoYXIgKnBjMTsKICAgIGNoYXIgKnBjMjsKICAgIAoJcGMxID0gc3Ryc3RyKGJ1ZmZlciwgIjxjb250ZXh0PiIpOwogICAgcGMyID0gc3Ryc3RyKGJ1ZmZlciwgIjwvY29udGV4dD4iKTsKICAgIAogICAgd2hpbGUocGMxPD1wYzIpCiAgICAgICBjb3V0IDw8IHBjMSsrOwoJcmV0dXJuIDA7Cn0=