#include <bits/stdc++.h>
using namespace std;
bool KTchia10(long long n)
{
if (n%10==0)
return true;
else
return false;
}
int main()
{
long long n;
cin>>n;
if (n%10==0)
cout<<"YES";
else
cout<<"NO";
}
#include <bits/stdc++.h>
using namespace std;
long long ta(int a, int x)
{
if (x == 0) return 1;
if (x % 2 == 1) return a * ta(a, x-1);
long long t = ta(a, x/2); return t * t;
}
long long tb(int b, int y)
{
if (y == 0) return 1;
if (y % 2 == 1) return b * tb(b, y-1);
long long l = tb(b, y/2); return l * l;
}
int main()
{
int a, x,b,y;
cin >> a >> x;
cin >> b >> y;
cout <<ta(a,x)<<" "<<tb(b,y)<<endl;
if(ta(a,x)>tb(b,y))
cout <<a<<"^"<<x;
else if(ta(a,x)<tb(b,y))
cout <<b<<"^"<<y;
else
cout<<"0";
}
#include <bits/stdc++.h>
using namespace std;
long long gio(long long h,long long m,long long s,long long t)
{
h=t/3600;
m=t%3600/60;
s=t%3600%60;
return h;
return m;
return s;
}
int main()
{
long long t,h,m,s;
cin>>t;
h=t/3600;
m=t%3600/60;
s=t%3600%60;
cout<<h<<' '<<m<<' '<<s;
}
#include <bits/stdc++.h>
using namespace std;
long long pow(long long n,long long r, long long q,long long k)
{
r=(long long)sqrt(n);
q=r+1;
k=q*q;
return k;
}
int main()
{
long long n;
cin >> n;
long long r = (long long) sqrt(n);
long long q = r + 1;
long long k = q * q;
cout << k << endl;
return 0;
}