#K11616. Minimum Servers Required

    ID: 23509 Type: Default 1000ms 256MiB

Minimum Servers Required

Minimum Servers Required

A server can send a fixed number of emails per hour. Given n participants and each server can send k emails per hour, your task is to determine the minimum number of servers required to send out all the invitations within one hour.

In mathematical terms, you need to compute \(\lceil \frac{n}{k} \rceil\), where \(n\) is the number of invitations and \(k\) is the capacity of each server.

inputFormat

The input consists of two space-separated integers:

  • n: the total number of participants (invitations to be sent).
  • k: the maximum number of emails a single server can send in one hour.

outputFormat

Output a single integer representing the minimum number of servers required.

## sample
10 5
2

</p>