def div_up(num, denum):
  """
  Performs integer division num/denum, but rounds the result UP.
  Source: https://stackoverflow.com/a/35125872/1786598
  :param num:
  :param denum:
  :return:
  """
  return -(-num//denum)