#include<bits/stdc++.h>
 using namespace std ;

 int main ()
 {
     int t, n, i, j, x, y ;
     char c ;
     string s, s1, s2 ;
     cin>>x>>y>>n ;
     if( ((x*x) + (y*y)) < (n*n) ) cout<<"Yes" ;
     else cout<<"No" ;
     return 0 ;
 }
#include<iostream>
#include<string>
#include<vector>
#include<numeric>
#include<math.h>
#include<algorithm>
#include<iomanip>
#include<list>
#include<bitset>
#include<sstream>
#include<regex>
#include<utility>
#include<queue>
#include<map>
using namespace std;

int main() {

	int N;
	cin >> N;

	long long ans = 0;
	vector<long long> A(N, 0);
	vector<long long> B(N, 0);
	for (int i = 0; i < N; i++) {
		cin >> A[i];
	}
	for (int i = 0; i < N; i++) {
		cin >> B[i];
	}
	for (int i = 0; i < N; i++) {
		ans += A[i] * B[i];
	}

	if (ans == 0) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}

	return 0;
}
