#include<iostream> using namespace std; int main() { int number1,number2; cin>>number1>>number2; int result1=number1/number2; int result2=number1%number2; cout<<result1<<" "<<result2; return 0; }