N,K = map(int,input().split()) a = list(map(int,input().split())) cnt = 0 for x in a: cnt += 1 print(N,cnt) assert N == cnt