const fs = require('fs').readFileSync('예제.txt').toString().trim().split(" ").map(Number)
console.log(fs[0]+fs[1]); */
const fs = require('fs').readFileSync('예제.txt').toString().trim().split(" ").map(Number)
console.log(fs[0]+fs[1])
console.log(fs[0]-fs[1])
console.log(fs[0]*fs[1])
console.log(Math.floor(fs[0]/fs[1]))
console.log(fs[0]%fs[1]) */
const fs = require('fs').readFileSync('예제.txt').toString().trim()
console.log(fs+'??!'); */
const fs = require('fs').readFileSync('예제.txt').toString().trim().split(" ").map(Number)
const a = fs[0]
const b = fs[1]
const c = fs[2]
console.log((a+b)%c);
console.log(((a%c)+(b%c))%c);
console.log((a*b)%c);
console.log(((a%c)*(b%c))%c); */
console.log(472*385);
*/
const fs = require('fs').readFileSync('예제.txt').toString().trim().split('\n').map(Number)
const a = fs[0]
const b = fs[1]
const bSplit = b.toString().split("").map(Number)
console.log(a*bSplit[2]);
console.log(a*bSplit[1]);
console.log(a*bSplit[0]);
console.log(a*b); */
console.log(`
\\ /\\
) ( ')
( / )
\\(__)|`); */
const fs = require('fs').readFileSync('예제.txt').toString().trim().split(" ").map(Number)
const [a,b] = fs
if(a>b) console.log('>');
if(a<b) console.log('<');
if(a === b) console.log('=='); */
const fs = require('fs').readFileSync('예제.txt').toString().trim()
const a = Number(fs)
if(a>=90){ console.log('A')}
else if(a>=80 && a < 90){ console.log('B')}
else if(a>=70 && a < 79){ console.log('C');}
else if(a>=60 && a < 69) {console.log('D');}
else{ console.log('F');}
*/
const fs = require('fs').readFileSync('예제.txt').toString().trim().split('\n').map(Number)
const [x,y] = fs
if(x>0 && y>0){return console.log('1');
}else if(x<0 && y>0){
return console.log('2');
}else if(x<0 && y<0){
return console.log('3');
}else if(x>0 && y<0){
return console.log('4');
}
*/
const fs = require('fs').readFileSync('예제.txt').toString().trim().split(" ").map(Number)
let [h,m] = fs
m = m - 45
if(m<0){
h = h-1
m = m+60
}
if(h<0){
h = h + 24
}
console.log(h,m); */
const fs = require('fs').readFileSync('예제.txt').toString().trim().split('\n')
const hm = fs[0].split(" ").map(Number)
let [h,m] = hm
const addMinute = Number(fs[1])
m = m + addMinute
let time = Math.floor(m/60)
if(m>=60){
m = m - 60*time
h = h + time
if(h >= 24){
h = h - 24
}
}
console.log(h, m); */
const fs = require('fs').readFileSync('예제.txt').toString()
const a = Number(fs)
for(let i=1;i<10;i++){
console.log(a+' * '+i+' = '+a*i);
} */
const fs = require('fs').readFileSync('예제.txt').toString();
const a = Number(fs);
let result = 0
for(let i=1;i<a+1;i++){
result = result + i
}
console.log(result); */
const fs = require('fs').readFileSync('예제.txt').toString().trim().split("\n").map(v=>v.replace('\r',""))
const LineCount = Number(fs[0])
for(let i=1;i<LineCount+1;i++){
let a = fs[i].split(" ").map(Number)
let [x,y] = a
console.log(x+y);
}
*/
const fs = require('fs').readFileSync('예제.txt').toString().trim().split('\n')
const 총금액 = Number(fs[0])
const 물건수 = Number(fs[1])
let result = 0
for(let i=2;i<물건수+2;i++){
let [x,y] = fs[i].split(" ").map(Number)
result = result + x*y
}
if(result === 총금액){
return console.log('Yes')
}else{
return console.log('No')
} */
long int */
const fs = require('fs').readFileSync('예제.txt').toString().trim()
const q = Number(fs)
const qCount = q/4
let arr = ['int']
console.log(q,qCount);
for(let i=0;i<qCount;i++){
arr.unshift('long')
}
console.log(arr.join(" "));
*/
const fs = require('fs').readFileSync('예제.txt').toString().trim()
const a = Number(fs)
let arr = []
for(let i=1;i<a+1;i++){
arr.push('*')
console.log(arr.join(""));
} */
const fs = require('fs').readFileSync('예제.txt').toString().trim()
const q = Number(fs)
let arr = []
let arr2 = []
for(let i=1;i<q+1;i++){
let star = '*'.repeat(i)
arr.push(star)
for(let j=q-1;j>=0;j--){
let dash = ' '.repeat(j)
if(!arr2.includes(dash)){
arr2.push(' '.repeat(j))
}
}
}
let resultArr = []
for(let i=0;i<q;i++){
resultArr.push(arr2[i]+arr[i])
}
console.log(resultArr.join('\n')); */
const fs = require('fs').readFileSync('예제.txt').toString().trim().split("\n")
const repeatCount = fs.length
for(let i=0;i<repeatCount;i++){
let [a,b]=fs[i].split(" ").map(Number)
console.log(a+b);
}
*/
console.log(`|\\_/|`);
console.log(`|q p| /}`);
console.log(`( 0 )"""\\`);
console.log(`|"^"${'`'} |`);
console.log(`||_/=\\\\__|`); */