write a program that reads a list of integers from input and outputs the list with the first and last numbers swapped. the input begins with an integer indicating the number of values that follow. assume the list contains fewer than 20 integers.