use std::io::stdin; fn main() { let mut input = String::new(); stdin().read_line(&mut input).ok(); let x: Vec<&str> = input.trim().split(' ').collect(); let x: Vec = x.into_iter().map(|x| x.parse().unwrap()).collect(); let mut n = 0; if x[0] % 2 == 0 { n += 1 } if x[2] % 2 == 0 { n += 1; } if x[4] % 2 == 0 { n += 1; } if n == 1 || n == 3 { println!(":-)"); } else { println!(":-("); } }