text: # Division
  # Created by JKChang
  # 14/08/2018, 10:56
  # Tag:
  # Description: https://www.hackerrank.com/challenges/python-division/problem
  
  if __name__ == '__main__':
      a = int(input())
      b = int(input())
  
      print(a//b)
      print(a/b)
  