import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int num=sc.nextInt();
int number, temp, total = 0;
number = num;
while (number!=0)
{
temp = number % 10;
total = total + temp*temp*temp;
number /= 10;
}
if(total == num)
System.out.println("true");
else
System.out.println("false");
}
}
where i went wrong still some testcases are not excecuted