#include<bits/stdc++.h>

using namespace std;

typedef long long int ll;

void solve()
{
	ll m, n;
	cin >> n >> m;
	for(ll i = 1; i * i <= m; i++)
	{
		if(m % i == 0)
		{
			if(i + (m / i) == n)
			{
				cout << "Yes\n";
				return;
			}
		}
	}
	cout << "No\n";
}

int main()
{
	int t = 1;
//	cin >> t;
	while(t--)
	{
		solve();
	}
	return 0;
}

#include <iostream>
using namespace std;

int main() {
    int A, B;
    cin >> A >> B;

    cout << (double)(A - B)/(double)A * 100.0 << endl;
  
}
