program abc142c
   implicit none

   integer :: N, i
   integer, allocatable :: rev(:), A(:)

   read(*,*) N
   allocate(rev(N), A(N))
   read(*,*) A(:)

   do i = 1, N
      rev(A(i)) = i
   end do

   write(*,*) rev(:)
end program abc142c
