input: Write a python function to calculate the sum of the first n natural numbers.
  assert sum_of_numbers(10) == 55
  assert sum_of_numbers(100) == 5050
  assert sum_of_numbers(0) == 0
output: def sum_of_numbers(n):
      return n * (n + 1) // 2