s, f = map(int, input().split()) if s != f: sf = -(-s // f) elif s == f: sf = 2 print(sf)