#include int main() { int S, F; scanf("%d %d", &S, &F); // S段登った時点での階数 = floor(S / F) + 1 int floor = (S / F) + 1; printf("%d\n", floor); return 0; }