The first line contains N numbers separated by spaces. (1≤N≤100) Every number is a natural number no greater than 10,000, and no number is written with a leading zero. N is not given separately, so read the whole first line to find out how many numbers there are.