output_description: If we have x hours until New Year at M o'clock on 30th, December, print x.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      M
attempt: import math
  import sys
  
  
  def getinputdata():
  
      # 配列初期化
      array_result = []
  
      data = input()
  
      array_result.append(data.split(" "))
  
      flg = 1
  
      try:
  
          while flg:
  
              data = input()
  
              array_temp = []
  
              if data != "":
  
                  array_result.append(data.split(" "))
  
                  flg = 1
  
              else:
  
                  flg = 0
      finally:
  
          return array_result
  
  
  arr_data = getinputdata()
  
  x = int(arr_data[0][0])
  
  print(24 - x + 24)
  
problem_description: Statement
  
  How many hours do we have until New Year at M o'clock (24-hour notation) on
  30th, December?
samples: [{"input": "21", "output": "27\n    \n\nWe have 27 hours until New Year at 21 o'clock on 30th, December.\n\n* * *"}, {"input": "12", "output": "36"}]