n = int(input()) if n==7: print(8)