input: Write a python function to replicate the behavior of the given code snippet.
  assert replicate_behavior() == [2, 6, 8, 10]
output: def replicate_behavior():
      numbers = [1, 2, 3, 4, 5]
      result = []
      for number in numbers:
          if number % 2 == 0:
              result.append(number * 3)
          else:
              result.append(number * 2)
      return result