#define _USE_MATH_DEFINES

#include <iostream>	//cin, cout
#include <vector>	//vector
#include <algorithm> //sort,min,max,count
#include <string>	//string,getline, to_string
#include <ios>		//fixed
#include <iomanip>	//setprecision
#include <utility> //swap, pair
#include <cstdlib>	//abs(int)
#include <cmath>	//sqrt,ceil,M_PI, pow, sin
#include <sstream>	//stringstream, getline
#include <numeric>	//gcd, accumlate
#include <deque>	//deque
#include <random>	//randam_device
#include <limits>	//numeric_limits

using namespace std;
constexpr long long int D_MOD = 1000000007;

int main() {

	int a, b, c;
	cin >> a >> b >> c;

	if (a * a + b * b < c * c) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}

	return 0;

}
#include <bits/stdc++.h>
using namespace std;
int main(){
	int a, b, x, y;
	cin >> a >> b >> x >> y;
	if (a<=b){
		cout << min(x+(b-a)*y, (b-a)*2*x+x) << endl;
		return 0;
	}
	else{
		cout << min(x+(a-b-1)*y, (a-b-1)*2*x+x) << endl;
		return 0;
	}
}
