function main(input) {

    const lines = input.split('\n');
    const timeLimit = parseInt(lines.shift().split(' ')[1], 10)

    console.log(timeLimit);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));
