#include <iostream>
using namespace std;

int main() {
	// your code goes here
	float f;
	cin >> f;
	cout << (f == 3.6f);
	return 0;
}