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