'use strict'

const Main = (input) => {
  const Str = parseInt(input.trim().replace(/ /g, ''))


  let result = Number.isInteger(Math.sqrt(Str)) ? 'Yes' : 'No'

  console.log(result)
  return result
}

Main(require('fs').readFileSync('/dev/stdin', 'utf8'))