{"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\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript type\u003d\"text/javascript\" async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS_HTML-full\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e Sherlock and Watson were bored. So they bought six sticks to play with and assess their creativity. They\u0026nbsp;decided to make either an elephant or a bear from those sticks. They can make an animal from sticks in the following way:\u003c/p\u003e \n\u003cul\u003e \n \u003cli\u003e Four sticks represent the animal\u0027s legs, these sticks should have the same length.\u003c/li\u003e \n \u003cli\u003e Two remaining sticks represent the animal\u0027s head and body. The bear\u0027s head stick must be shorter than the body stick. The elephant, however, has a long trunk, so its head stick must be as long as the body stick. Note that there are no limits on the relations between the leg sticks and the head and body sticks.\u003c/li\u003e \n\u003c/ul\u003e \n\u003cp\u003e Their task is to find out which animal can be made from the given stick set. Mr\u0027s Hudson is their householder and she wants the sticks to use them for her garden. So the sticks should not be broken. Can you try finding it out before them and become the most wanted consulting detective ?\u0026nbsp;\u003cimg alt\u003d\"laugh\" src\u003d\"http://acm.hust.edu.cn/vjudge/ckeditor/plugins/smiley/images/teeth_smile.gif\" title\u003d\"laugh\"\u003e\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e A single line containing six space-separated integers \u003cstrong\u003e\u003cspan\u003e\u003cspan\u003e\u003ci\u003el\u003c/i\u003e\u003csub\u003e\u003ci\u003ei\u003c/i\u003e\u003c/sub\u003e\u003c/span\u003e\u003c/span\u003e\u003c/strong\u003e (\u003cspan\u003e1 ≤ \u003cstrong\u003e\u003cspan\u003e\u003ci\u003el\u003c/i\u003e\u003csub\u003e\u003ci\u003ei\u003c/i\u003e\u003c/sub\u003e\u003c/span\u003e \u003c/strong\u003e≤ 9\u003c/span\u003e) — the lengths of the six sticks. It is guaranteed that the input is such that you cannot make both the animals from the sticks.\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e If you can make a bear from the given set, print string \"\u003cstrong\u003e\u003cspan\u003eBear\u003c/span\u003e\u003c/strong\u003e\" (without the quotes). If you can make an elephant, print string \"\u003cstrong\u003e\u003cspan\u003eElephant\u003c/span\u003e\u003c/strong\u003e\" (without the quotes). If you can make neither a bear nor an elephant, print string \"\u003cstrong\u003e\u003cspan\u003eAlien\u003c/span\u003e\u003c/strong\u003e\" (without the quotes).\u003c/p\u003e"}},{"title":"Example","value":{"format":"HTML","content":"\u003cdiv\u003e \n \u003cdiv\u003e\n Input\n \u003c/div\u003e \n \u003cpre\u003e\r\n\t4 2 5 4 4 4\r\n\u003c/pre\u003e \n\u003c/div\u003e \n\u003cdiv\u003e \n \u003cdiv\u003e\n Output\n \u003c/div\u003e \n \u003cpre\u003e\r\n\tBear\u003c/pre\u003e \n\u003c/div\u003e \n\u003cdiv\u003e \n \u003cdiv\u003e\n Input\n \u003c/div\u003e \n \u003cpre\u003e\r\n\t4 4 5 4 4 5\r\n\u003c/pre\u003e \n\u003c/div\u003e \n\u003cdiv\u003e \n \u003cdiv\u003e\n Output\n \u003c/div\u003e \n \u003cpre\u003e\r\n\tElephant\u003c/pre\u003e \n\u003c/div\u003e \n\u003cdiv\u003e \n \u003cdiv\u003e\n Input\n \u003c/div\u003e \n \u003cpre\u003e\r\n\t1 2 3 4 5 6\r\n\u003c/pre\u003e \n\u003c/div\u003e \n\u003cdiv\u003e \n \u003cdiv\u003e\n Output\n \u003c/div\u003e \n \u003cpre\u003e\r\n\tAlien\u003c/pre\u003e \n\u003c/div\u003e"}},{"title":"Hint","value":{"format":"HTML","content":"\u003cp\u003e If you\u0027re out of creative ideas, see instructions below which show how to make a bear and an elephant in the first two samples. The stick of length 2 is in red, the sticks of length 4 are in green, the sticks of length 5 are in blue.\u003c/p\u003e \n\u003cimg src\u003d\"http://espresso.codeforces.com/bf3fd44cb7b1e2a01f2a813a4fef975b2ac06c43.png\"\u003e"}}]}