{"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\u003eSaniul likes to play chess, and so does his friend Limon.\u003c/p\u003e\n\u003cp\u003eOnce they have played \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003en\u003c/i\u003e\u003c/span\u003e games in a row. For each game it\u0027s known who was the winner\u0026nbsp;— Saniul or Limon. None of the games ended with a tie.\u003c/p\u003e\n\u003cp\u003eNow Saniul wonders, who won more games, he or Limon? Help him determine this.\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003eThe first line of the input contains a single integer \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003en\u003c/i\u003e\u003c/span\u003e (\u003cspan class\u003d\"tex-span\"\u003e1 ≤ \u003ci\u003en\u003c/i\u003e ≤ 100 000\u003c/span\u003e)\u0026nbsp;— the number of games played.\u003c/p\u003e\n\u003cp\u003eThe second line contains a string \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003es\u003c/i\u003e\u003c/span\u003e, consisting of \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003en\u003c/i\u003e\u003c/span\u003e uppercase English letters \u0027\u003cspan class\u003d\"tex-font-style-tt\"\u003eA\u003c/span\u003e\u0027 and \u0027\u003cspan class\u003d\"tex-font-style-tt\"\u003eD\u003c/span\u003e\u0027\u0026nbsp;— the outcome of each of the games. The \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003ei\u003c/i\u003e\u003c/span\u003e-th character of the string is equal to \u0027\u003cspan class\u003d\"tex-font-style-tt\"\u003eA\u003c/span\u003e\u0027 if the Saniul won the \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003ei\u003c/i\u003e\u003c/span\u003e-th game and \u0027\u003cspan class\u003d\"tex-font-style-tt\"\u003eD\u003c/span\u003e\u0027 if Limon won the \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003ei\u003c/i\u003e\u003c/span\u003e-th game.\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003eIf Saniul won more games than limon, print \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eAnton\u003c/span\u003e\" (without quotes) in the only line of the output.\u003c/p\u003e\n\u003cp\u003eIf Limon won more games than Anton, print \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eDanik\u003c/span\u003e\" (without quotes) in the only line of the output.\u003c/p\u003e\n\u003cp\u003eIf Saniul and Limon won the same number of games, print \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eFriendship\u003c/span\u003e\" (without quotes).\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\u003e6\nADAAAA\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eAnton\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Sample 2","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\u003e7\nDDDAADA\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eDanik\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Sample 3","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\u003e6\nDADADA\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eFriendship\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Note","value":{"format":"HTML","content":"\u003cp\u003eIn the first sample, Saniul won \u003cspan class\u003d\"tex-span\"\u003e6\u003c/span\u003e games, while Limon\u0026nbsp;— only \u003cspan class\u003d\"tex-span\"\u003e1\u003c/span\u003e. Hence, the answer is \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eAnton\u003c/span\u003e\".\u003c/p\u003e\n\u003cp\u003eIn the second sample, Saniul won \u003cspan class\u003d\"tex-span\"\u003e3\u003c/span\u003e games and Limon won \u003cspan class\u003d\"tex-span\"\u003e4\u003c/span\u003e games, so the answer is \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eDanik\u003c/span\u003e\".\u003c/p\u003e\n\u003cp\u003eIn the third sample, both saniul and Limon won \u003cspan class\u003d\"tex-span\"\u003e3\u003c/span\u003e games and the answer is \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eFriendship\u003c/span\u003e\".\u003c/p\u003e"}}]}