program answer
  implicit none

  integer ::D, N

  read(*,*) D, N

  if(D==0) then
     if(N==100) then
        write(*,*) 101
        stop
     else
        write(*,*) N
        stop
     end if
  else if(D==1) then
     if(N==100) then
        write(*,*) 10100
        stop
     else
        write(*,*) 100*N
        stop
     end if
  else
     if(N==100) then
        write(*,*) 1010000
     else
        write(*,*) 10000*N
     end if
   end if

  stop
 end program answer
