program go_to_school
  implicit none
  integer :: n, i
  integer, dimension(100000) :: a, b
  read(*,*) n
  read(*,*) a(1:n)
  do i = 1, n
    b(a(i)) = i
  end do
  write(*,*) b(1:n)
end program go_to_school