A=[];for(W=new Date%3*5;L=readline();)A.push(L.split(T=" "));with(Math)for(J=3;J--;)for(Y=-1;L="",A[++Y];J||print(L.slice(1)))for(X=0;X