import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int seki = 0; int sum = 0; for(int i=0;i<3;i++) { int num = sc.nextInt(); int num2 = sc.nextInt(); if(num%2==1) { sum++; } } if(sum%2==0) { System.out.println(":-)"); } else { System.out.println(":-("); } } }