using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using static System.Console; using static System.Math; namespace CP { class Atria { static void Main(string[] args) { long[] s = ReadLine().Split(' ').Select(long.Parse).ToArray(); int ans = 0; for (int i = 1; i <= 3; i++) { if (s[(i * 2) - 2] % 2 == 1) { ans++; } else { if (s[(i*2)-2] % 2 == 0) { ans += 2; } else ans++; } } WriteLine(ans % 2 == 0 ? ":-)" : ":-("); } } }