#include int main(){ int n; std::cin >> n; std::cout << n-1; return 0; }