N = int(input()) if N == 2: print(6)