def calculate_number_of_lights(m, n, k):
  """
  Calculates the number of lights needed to illuminate a rectangular area.

  Args:
    m: The width of the area in meters.
    n: The height of the area in meters.
    k: The side length of each light in meters.

  Returns:
    The number of lights needed to illuminate the area.
  """

  area_of_area = m * n
  area_of_light = k * k
  number_of_lights = area_of_area / area_of_light
  return number_of_lights


if __name__ == "__main__":
  # Example usage
  m = 100
  n = 200
  k = 50
  number_of_lights = calculate_number_of_lights(m, n, k)
  print(f"Number of lights needed: {number_of_lights}")