n = int(input()) print(7 if n == 1 else n)