No.
Give X a value and read up on the Scanner class.

Sorted.