#include <iostream>
using namespace std;

int main() {
	std::cout << ((8 << 2) & (2 >> 8) ^ (4 * 4) - ~(8 - 1) - 24);
	return 0;
}