text: '''
  Url: https://www.hackerrank.com/challenges/python-division/problem
  Name: Python: Division
  '''
  
  if __name__ == '__main__':
      a = int(input().strip())
      b = int(input().strip())
  
      print(a // b)
      print(a / b)
  