#include "library.h" const string digits = "0123456789ABCDEF"; void p(int x) { if (x >= 16) p(x / 16); cout << " " << digits[x % 16]; } void main() { const int a = read_int(); p(a); new_line(); }