input: Write a python function to check if numbers in a list are less than or greater than 10 and print the corresponding message.
  assert check_numbers([3, 5, 9, 15, 22]) == ["less than 10", "less than 10", "less than 10", "greater than 10", "greater than 10"]
  assert check_numbers([1, 12, 8, 20, 3]) == ["less than 10", "greater than 10", "less than 10", "greater than 10", "less than 10"]
  assert check_numbers([10, 10, 10]) == ["greater than 10", "greater than 10", "greater than 10"]
output: def check_numbers(numbers):
      result = []
      for number in numbers:
          if number < 10:
              result.append("less than 10")
          else:
              result.append("greater than 10")
      return result