let a = parseInt(readline()); let arr =[] let min =1000 let f=0 for(let i =0;i<a;i++){ if(test(i)&&test(a-i)){ arr.push(i) } } for(let i of arr){ let x = minNum(i,a) if(x<min){ &nbs...