#include<bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n>>m; cout<<n/m<<' '<<n%m; } /************************************************************** Problem: 1311 User: zhengzihao Language: C++ Result: Accepted Time:8 ms Memory:2072 kb ****************************************************************/