#35135: 學校範例


yp11152042@yphs.tp.edu.tw (911-06吳若旖)


#include<iostream>
using namespace std;
int main(){
    int w;
    cin>>w;
    (w>50) ? cout<<w-1<<"\n" : cout<<w<<"\n";
}