ProgramID- 9251
SkillRack
Print Last K Integers

The program must accept N integers and an integer K as the input. The program must print the last K integers among the N integers as the output.

Boundary Condition(s):
1 <= N <= 100
1 <= K <= N

Example Input/Output 1:
Input:
5
2 1 4 3 6
2

Output:
3 6

Example Input/Output 2:
Input:
9
12 54 12 36 75 46 10 28 41
5

Output:
75 46 10 28 41


Max Execution Time Limit: 1000 millisecs