#include <iostream>
using namespace std;

bool is_foo(char cursorChar)
{
	return ((1L << cursorChar) & ((cursorChar - 64) >> 31) & 0x100002600L) != 0L;
}

int main()
{
	for (int i = -127; i < 128; i++)
		std::cout << i << ": " << is_foo(i) << "\n";

	return 0;
}
