N = int(input()) a = [input() for i in range(N)] j=1 for i in range(len(a)): if a[0]