package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
	"strings"
)

var sc = bufio.NewScanner(os.Stdin)

func main() {
	sc.Scan()
	ns := strings.Split(sc.Text(), " ")
	n, e := strconv.ParseFloat(ns[0]+ns[1], 32)
	if e != nil {
		return
	}

	fmt.Println(n)
	res := false
	for i := 4; i < 317; i++ {
		fl := float64(i)
		if n/fl == fl {
			res = true
			break
		}
	}

	if res {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}
