{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\n\u003cscript\u003e\n window.katexOptions \u003d {\n delimiters: [\n {left: \u0027$$$$$$\u0027, right: \u0027$$$$$$\u0027, display: true},\n {left: \u0027$$$\u0027, right: \u0027$$$\u0027, display: false},\n {left: \u0027$$\u0027, right: \u0027$$\u0027, display: true},\n {left: \u0027$\u0027, right: \u0027$\u0027, display: false}\n ]\n };\n\u003c/script\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e Appa and Momo are racing each other to see who could fly the fastest. They asked Sokka to be the judge, but he got distracted. Now he needs your help to determine the winner. \u003c/p\u003e\n\nHe has two sets of information. The finishing times for Appa and Momo. Appa is \"Player1\" and Momo is \"Player2\". Can you help solve who is the winner?"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e First line contains an integer T (1 \u003cspan class\u003d\"tex-span\"\u003e ≤ \u003c/span\u003e T \u003cspan class\u003d\"tex-span\"\u003e ≤ \u003c/span\u003e 100) denoting the number of testcases. Each of the following T lines describe the testcases. \u003c/p\u003e\n\n\u003cp\u003e Each test contains 6 integers. The first 3 describe the finishing time for Appa and the last 3 for Momo. \u003c/p\u003e\n\n\u003cp\u003e Both players times are on the same day and in 24 hour format. All the input integers have exactly 2 digits (with possible leading zeros). The three integers H, M, S indicate the time. (0 \u003cspan class\u003d\"tex-span\"\u003e ≤ \u003c/span\u003e H \u003cspan class\u003d\"tex-span\"\u003e ≤ \u003c/span\u003e 23 and 0 \u003cspan class\u003d\"tex-span\"\u003e ≤ \u003c/span\u003e M, S \u003cspan class\u003d\"tex-span\"\u003e ≤ \u003c/span\u003e 59) \u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003eFor each test, print in a separate line \"Player1\" if Appa is the winner, \"Player2\" if Momo is the winner or \"Tie\" if a winner cannot be decided.\u003c/p\u003e"}},{"title":"Sample 1","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e3\n18 03 04 14 03 05\n09 45 33 12 03 01\n06 36 03 06 36 03\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003ePlayer2\nPlayer1\nTie\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}