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 bisect
  import numpy as np
  import sys
  
  input = sys.stdin.readline
  
  
  def IL():
      return list(map(int, input().split()))
  
  
  def SL():
      return input().split()
  
  
  def I():
      return int(sys.stdin.readline())
  
  
  def S():
      return input()
  
  
  M = I()
  
  print(48 - M)
  
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"}]