#include <stdio.h>

int main(void) {
	unsigned char a = 'A';
	int no = 2;
	printf("%d\n", (((a << no) & 0xFF) | (a >> (8-no))));
	return 0;
}
