#include using namespace std; #define rep(i, n, o) for(int i = 0;i < (n);i++) #define ou(x) cout << x << endl #define ll long long #define re return 0 int main(){ ll a, b; cin >> a >> b; if(pow(a, b) == pow(b, a)) ou("Yes"); else ou("No"); re; }