#include<bits/stdc++.h> using namespace std; int main(){ int a,b,ans1,ans2; ans1=a%b; ans2=a/b; cout<<ans1<<" "<<ans2; return 0; }