      PROGRAM goToSchool
      IMPLICIT NONE
      INTEGER :: N
      INTEGER,ALLOCATABLE :: A(:),ans(:)
      
      INTEGER :: i, buffer, in ,out
      LOGICAL :: flag
      
      
      READ*,N
      ALLOCATE( A(N),ans(N) )
      READ*,A(:)
      


!      o:DO out = 1,N !order
!        DO in = 1,N !num of student
!          IF(A(in)==out)THEN
!            ans(out) = in
!            CYCLE o
!          END IF
!        END DO 
!      END DO o
      DO i = 1,N
        ans(A(i)) = i
      END DO
      
      
      
      print*,ans(:)
      
      END PROGRAM