package main import "fmt" func main() { var ab[6] int for i := 0; i < 6; i++ { fmt.Scan(&ab[i]) } p := 0 for j := 0; j < 6; j += 2 { p += ab[j] } a := "" if p % 2 == 0 { a = ":-)" } else { a = ":-(" } fmt.Println(a) }