input: Write a function to print numbers starting from the given input number until it reaches 2.
  assert main(1) == 2
  assert main(0) == None
  assert main(2) == 2
output: def main(n):
      if n < 2:
          return None
      while n > 2:
          print(n)
          n -= 1
      return 2