Pagla Number

Author: Nazmul Alam

Given a number N, the task is to check whether the number is Pagla Number or Not. A number is called Pagla Number if and only if it's square and the number itself ends with same digit.

Input Format

A single number N will be given, 1<=N<=10^9 on each line of the input. Input is terminated by End of File.

Output Format

For each number, If the number is Pagla, print "Yes Pagla" otherwise print "No Pagla" on a new line.

Samples

Input
76 25 7 1 1000000000
Output
Yes Pagla Yes Pagla No Pagla Yes Pagla Yes Pagla
Limits
Language Time Memory
GNU C 11 1s 512MB
GNU C++ 14 1s 512MB
GNU C++ 11 1s 512MB
Statistics
Login To Submit