using System; using System.Linq; using System.Collections.Generic; class MyClass { public static void Solve() { var input = Console.ReadLine().Split().Select(int.Parse).ToArray(); var A = input[0]; var B = input[1]; var C = input[2]; var D = input[3]; var E = input[4]; var F = input[5]; Console.WriteLine((A + C + E) % 2 == 0 ? ":-)" : ":-("); } public static void Main() { Solve(); } }