<filename>atcoder/abc/a035.py<gh_stars>0
W, H = map(int, input().split())
print("4:3" if 4 * H == 3 * W else "16:9")

<filename>atcoder/abc/a035.py<gh_stars>0
W, H = map(int, input().split())
print("4:3" if 4 * H == 3 * W else "16:9")
