let input = require('fs').readFileSync('/dev/stdin', 'utf8'); console.log(Number(input) - 1);