import sys input=lambda: sys.stdin.readline().rstrip() a,b=map(int,input().split()) ans=0 for x in range(23,26): if x