#B4064. Fourth Power Verification
Fourth Power Verification
Fourth Power Verification
Given a positive integer a, determine whether there exists a positive integer b such that \(a=b^4\). In other words, check if a is a perfect fourth power.
inputFormat
The input consists of a single positive integer a.
outputFormat
Output "Yes" if there exists a positive integer b satisfying \(a=b^4\); otherwise, output "No".
sample
16
Yes