output_description: Print the given integers in ascending order in a line. Put a single space
  between two integers.
input_description: Three integers separated by a single space are given in a line.
attempt: # 1. ソート対象の配列をピポット(=分割の基準)を基準に2つの部分配列に分割(divide)
  # 2. 前方の部分配列に対してquick_sortを行う(solve)
  # 3. 後方の部分配列に対してquick_sortを行う(solve)
  # 4. 整列済み部分配列とピボットを連結して返す(Conquer)
  def quick_sort(arr):
      if len(arr) < 2:
          return arr
      p = arr[0]
      left, right = divide(p, arr[1:])
      return quick_sort(left) + [p] + quick_sort(right)
  
  
  def divide(p, arr):
      left, right = [], []
      for i in arr:
          if p > i:
              left.append(i)
          else:
              right.append(i)
      return left, right
  
  
  arr = quick_sort(list(map(int, input().split())))
  print(f"{arr[0]} {arr[1]} {arr[2]}")
  
problem_description: Sorting Three Numbers
  
  Write a program which reads three integers, and prints them in ascending
  order.
samples: [{"input": "3 8 1", "output": "1 3 8"}]