For problem statement at 0-999/400-499/470-479/471/problemA.txt this is a correct solution, but verifier at 0-999/400-499/470-479/471/verifierA.go ends with All 120 tests passed can you fix the verifier? package main
import (
"fmt"
)
func main() {
var counts [10]int
for i := 0; i < 6; i++ {
var x int
fmt.Scan(&x)
counts[x]++
}
legLength := -1
for i := 1; i <= 9; i++ {
if counts[i] >= 4 {
legLength = i
break
}
}
if legLength == -1 {
fmt.Println("Alien")
return
}
counts[legLength] -= 4
elephant := false
for i := 1; i <= 9; i++ {
if counts[i] == 2 {
elephant = true
break
}
}
if elephant {
fmt.Println("Elephant")
} else {
fmt.Println("Bear")
}
}