n = int(input()) if n==5: print(1)