#include <iostream>

int main()
{
    const char c = 'A' ;
    std::cout << +c << ' ' << int(c) << ' ' << (int)c << ' ' << (int)(c) << '\n' ;
}
