import std.stdio, std.string, std.conv;
import std.range, std.algorithm;

void main() {
    auto n = readln.split.join.to!int;

    foreach (i ; 0 .. n) {
        if (i*i > n) break;
        if (i*i == n) {
            writeln("Yes");
            return;
        }
    }
    writeln("No");
}



void scan(T...)(ref T args) {
    string[] line = readln.split;
    foreach (ref arg; args) {
        arg = line.front.to!(typeof(arg));
        line.popFront();
    }
    assert(line.empty);
}



void fillAll(R, T)(ref R arr, T value) {
    static if (is(typeof(arr[] = value))) {
        arr[] = value;
    }
    else {
        foreach (ref e; arr) {
            fillAll(e, value);
        }
    }
}