let input = require('fs').readFileSync('/dev/stdin', 'utf8'); const [i, ...N] = input.split(/\s/).map(v => Number(v)); N.pop(); console.log(input); for (let i of N) { if (i % 80 == 0) console.log('ikisugi'); else if (i % 8 == 0) console.log('iki'); else if (i % 10 == 0) console.log('sugi'); else console.log(i / 3); }