#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,x,y;
	int t;
	cin>>n>>x>>y;
	t=x+sqrt(y);
	cout<<t;
	
	
return 0;
}