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