#include <iostream>
#include <cmath>
using namespace std;
string na2(int liczba) {
if(liczba == 0)
return "0";
string pom = "";
while (liczba > 0) {
pom = char(liczba % 2 + 48) + pom;
liczba = liczba/ 2;
}
return pom;
}
int main(){
cout<<na2(42)<<endl;
cout<<na2(53)<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgpzdHJpbmcgbmEyKGludCBsaWN6YmEpIHsKICAgaWYobGljemJhID09IDApCiAgICAgIHJldHVybiAiMCI7CiAgIHN0cmluZyBwb20gPSAiIjsKICAgd2hpbGUgKGxpY3piYSA+IDApIHsKICAgICAgICBwb20gPSBjaGFyKGxpY3piYSAlIDIgKyA0OCkgKyBwb207CiAgICAgICAgbGljemJhID0gbGljemJhLyAyOwogICB9CiAgIHJldHVybiBwb207Cn0KaW50IG1haW4oKXsKCWNvdXQ8PG5hMig0Mik8PGVuZGw7Cgljb3V0PDxuYTIoNTMpPDxlbmRsOwoJcmV0dXJuIDA7Cn0=