#include #include #define DEF_INPUT_MIN (1) #define DEF_INPUT_MAX (pow(10, 9)) int main(void) { int amari = 0; int in_a = 0; int in_b = 0; int out = 0; while(1) { scanf("%d %d", &in_a, &in_b); if(in_a < DEF_INPUT_MIN) { continue; } if(in_b > DEF_INPUT_MAX) { continue; } amari = in_b % in_a; if(amari > 0) { out += 1; } out += in_b / in_a; printf("%d\n", out); break; } return 0; }