#include<bits/stdc++.h> using namespace std; int main(){ //100a+110b+12c=532 cout<<3<<' '<<2<<' '<<1; return 0; }