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