The first line contains two integers ().Each line in the next lines contains two integers ().Each line in the next lines contains three integers ().It is guaranteed that for .
Print lines. In the -th line, print a single integer .
5 3 2021 700 -9384 1031 2201 2561 4982 6255 -1700 388 -2151 1808 -4359815 -2850 -1980 7147359 -924 217 -8902828
2 1 3