#include <iostream>
using namespace std;

int main() {
    int a=1234;
    printf ("%#o %#X",a,a);
}
// 64 位输出请用 printf("%lld")