#include <cstdio>
#include <cmath>

using namespace std;

int c, i;
double x, y; 

int main ( void ) {
    scanf ( "%d %d", &c, &i);
    double j = i - 0.99; 
    x = c * j ; 
    y  = round ( x ) ; 
    if ( y < x ) y ++;
     
    printf ( "%.0lf", y ) ;     
    return 0;
       
}
