#include <iostream>
using namespace std;

int main() {
	// your code goes here
	float f = 267.0f;
	std::cin >> f;
	unsigned char c = f;
	cout << (int)c << endl;
	return 0;
}