Is the number is Russian Peasant or not ? check it using Java.





Program Code :