#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
if(n>25){
cout<<85-n<<endl;
}
else if(n<25){
cout<<25-n<<endl;
else{
cout<<0<<endl;