#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
string pans, jans;
int main(int argc, char* argv[]) {
registerTestlibCmd(argc, argv); int pp=0;
pans = ouf.readToken(); jans = ans.readToken();
if (pans == jans){printf("First line right +2\n"); pp+=2;}
else printf("First line wrong\n");
pans = ouf.readToken(); jans = ans.readToken();
if (pans == jans){printf("Second line right +3\n"); pp+=3;}
else printf("Second line wrong\n");
pans = ouf.readToken(); jans = ans.readToken();
if (pans == jans){printf("Third line right +5\n"); pp+=5;}
else printf("Third line wrong\n");
if (pp==10) quitf(_ok, "- fully correct");
else if (pp==0) quitf(_wa, "- fully wrong");
else quitp(_pc(pp-16), "- %d / 10 points", pp);
}
I2luY2x1ZGUgInRlc3RsaWIuaCIKI2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnN0cmluZyBwYW5zLCBqYW5zOwppbnQgbWFpbihpbnQgYXJnYywgY2hhciogYXJndltdKSB7CiAgICByZWdpc3RlclRlc3RsaWJDbWQoYXJnYywgYXJndik7IGludCBwcD0wOwoJcGFucyA9IG91Zi5yZWFkVG9rZW4oKTsgamFucyA9IGFucy5yZWFkVG9rZW4oKTsgIAogICAgaWYgKHBhbnMgPT0gamFucyl7cHJpbnRmKCJGaXJzdCBsaW5lIHJpZ2h0ICsyXG4iKTsgcHArPTI7fSAKICAgIGVsc2UgcHJpbnRmKCJGaXJzdCBsaW5lIHdyb25nXG4iKTsKICAgIHBhbnMgPSBvdWYucmVhZFRva2VuKCk7IGphbnMgPSBhbnMucmVhZFRva2VuKCk7ICAKICAgIGlmIChwYW5zID09IGphbnMpe3ByaW50ZigiU2Vjb25kIGxpbmUgcmlnaHQgKzNcbiIpOyBwcCs9Mzt9IAogICAgZWxzZSBwcmludGYoIlNlY29uZCBsaW5lIHdyb25nXG4iKTsKCXBhbnMgPSBvdWYucmVhZFRva2VuKCk7IGphbnMgPSBhbnMucmVhZFRva2VuKCk7ICAKICAgIGlmIChwYW5zID09IGphbnMpe3ByaW50ZigiVGhpcmQgbGluZSByaWdodCArNVxuIik7IHBwKz01O30gCiAgICBlbHNlIHByaW50ZigiVGhpcmQgbGluZSB3cm9uZ1xuIik7CgkKCWlmIChwcD09MTApIHF1aXRmKF9vaywgIi0gZnVsbHkgY29ycmVjdCIpOwoJZWxzZSBpZiAocHA9PTApIHF1aXRmKF93YSwgIi0gZnVsbHkgd3JvbmciKTsKCWVsc2UgcXVpdHAoX3BjKHBwLTE2KSwgIi0gJWQgLyAxMCBwb2ludHMiLCBwcCk7Cn0=