InputData = int(input("Input data: ")) print("Output: "+str(InputData//1000)+"t, "+str(InputData%1000)+"kg")