# Enter your code here. Read input from STDIN. Print output to STDOUT n,c= map(long,raw_input().strip().split(' ')) l= map(int,raw_input().split(' ')) print 1