import numpy as np n,A,_ = input().split('\n')