   program abc161a
      implicit none
      integer::x,y,z,a,b,c

      read *,x,y,z
      a=x
      b=y
      c=z
      x=c
      y=a
      z=b
      print *,x,y,z
      stop

   end program abc161a