input: from typing import List
  
  def find_missing_number(nums: List[int]) -> int:
      """
      Given a list of consecutive numbers from 1 to n with one number missing, 
      find the missing number.
      >>> find_missing_number([1, 2, 4, 5, 6])
      3
      >>> find_missing_number([1, 3, 4])
      2
      """
output:     n = len(nums) + 1
      total_sum = n * (n + 1) // 2
      current_sum = sum(nums)
      return total_sum - current_sum