#include<iostream> using namespace std; int main() { int n,m; cin>>n>>m; cout<<a/b<<" "<<a%b; return 0; }