#include #include #include using namespace std; int toto(char i) { if (i >= 'A') return i - 'A' + 10;
if (i >= '0') return i - '0'; } char outout(int i) { if (i > 9) return i - 10 + 'A';
return i + '0'; } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); stack sk; int to, as; string st; long long a = 0; double from; cin >> from >> st; as = st.size();
for (int i = 0; i
cin >> to;
while (a) { sk.push(outout(a {a638d642d867b568c1aede4e6cc48965ba83a47abef8f643eb9348429a71096e} to)); a /= to; }