<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script>
for(let i=100;i<1000;i++){
let G=i%10
let S=parseInt(i/10)%10
let B=parseInt(i/100)
}
if(G**3 + S**3 +B**3 == i){
console.log(i)
}
</script>
</body>
</html>