#include<bits/stdc++.h> using namespace std; int main() { float n; cin>>n; if(n>=10&&n<=100) { cout<<1<<endl; } else { cout<<0; } }