#include int main() { int card; const int c = 0x1d60; scanf("%d", &card); printf("%d\n", c - card); return 0; }