s1,s2=input().split() a=["Sun","Sut"] if s1 in a and s2 in a: print("8/33") elif s1 in a: print("8/32") else: print("8/31")