Is the sequence of number palindrome or not?

I am a student and I was asked by my Instructor to create a palindrome program in java. The main function of this program is to let the user enter a sequence of number and the program will determine if the input is a palindrome or not.
Palindrome is a word or sequence of number that read the same forwards or backwards, but the program have to determine sequence of numbers only. Words are not accepted.
In addition, If the input is a palindrome the program will return a message stating "x(sequence of number) is a palindrome or "x(sequence of number is not a palindrome).
example:
Enter a number:115511
(115511 when read forwards and backward is 115511)
115511 is a palindrome
Enter a number:12345
(12345 when read forwards and backwards is 54321)
12345 is not a palindrome
Thank for anyone who can help.
