#20214: KAI JAVA AC 恩~沒有if 歡迎參考


z85385637 (M-Kai)


import java.util.Scanner;

public class d068 {

public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int n =sc.nextInt();
System.out.println(n>50?n-1:n);

}

}