import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] a = new int[3]; int temp, flag = 0; for(int i = 0; i < 3; i++) { a[i] = Integer.parseInt(sc.next()); temp = Integer.parseInt(sc.next()); flag += (a[i] % 2); } System.out.println((flag % 2 == 0)? ":-)" : ":-("); } }