const reader = require('readline').createInterface({ input: process.stdin, output: process.stdout }); let lines = []; reader.on('line', line => { lines.push(line); }); reader.on('close', () => { let n = parseInt(lines[0]); if (n === 0 || n === 4 || n === 10) { console.log('Yes'); } else { console.log('No'); } });