The input will consist of an even number of lines of text. The input will be terminated by a blank line. Suppose there are 2n lines of input. Your program should print out the last n lines of the input, i.e., the second half of the input, followed by the first n lines, i.e., the first half of the input.
E.g., if the input is the following:
our dear friend,
let's eat
then the output should be:
let's eat
our dear friend,
What I have tried:
i = 1
while 1:
line = input()
if line=='':