program sample
    implicit none
  
    integer(8) :: i,j,m,n
    real(8)::a,b
    integer(8),allocatable :: x(:),y(:)
  
    read(*,*) i,j
    do n =10*j,10*j+9
       if (real(i)<= real(n)*0.080_8 ) then
        if  (real(i)+1.0_8 > real(n)*0.080_8 ) then
            write(*,*)n
            stop
        end if
     end if

    end do    
    write(*,*) -1
  
    stop
end program sample
  

