#include using namespace std; int main(){ int n;cin>>n; int m=sqrt(n); int left=m*m,right=(m+1)*(m+1); if(m-left