'''
Created on 1 de mai de 2017

@author: wpjunior
'''

if __name__ == '__main__':
    a = int(input())
    b = int(input())
    
    print(a//b) # print the integer result of a division
    print(a/b)  # print the decimal result of a division