Two polar bears Menshykov and Uslada from the St.Petersburg zoo and elephant Horace from the Kiev zoo got six sticks to play with and assess the animals' creativity. Menshykov, Uslada and Horace decided to make either an elephant or a bear from those sticks. They can make an animal from sticks in the following way:
Your task is to find out which animal can be made from the given stick set. The zoo keeper wants the sticks back after the game, so they must never be broken, even bears understand it.
InputThe single line contains six space-separated integers li (1?≤?li?≤?9) — the lengths of the six sticks. It is guaranteed that the input is such that you cannot make both animals from the sticks.
OutputIf you can make a bear from the given set, print string "Bear" (without the quotes). If you can make an elephant, print string "Elephant" (w?thout the quotes). If you can make neither a bear nor an elephant, print string "Alien" (without the quotes).
Sample test(s) input4 2 5 4 4 4output
Bearinput
4 4 5 4 4 5output
Elephantinput
1 2 3 4 5 6output
AlienNote
If you're 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.
<喎?http://www.Bkjia.com/kf/ware/vc/" target="_blank" class="keylink">vcD4KPHA+zOLS4qO6xKPE4suuzOI8L3A+CjxwPjxwcmUgY2xhc3M9"brush:java;">#include