program sample
    implicit none
  
    integer(8) :: i,j,m,n,d
    real(8)::a,b
    integer(8),allocatable :: x(:),y(:)
  
    read(*,*) d,n
    i=(n-1)/99

    m=i*100+mod(n-1,99)+1
    write(*,*) m*100**d
  
    stop
end program sample
  

