A1000
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b;
scanf("%lld %lld",&a,&b);
printf("%lld",a+b);
return 0;
}
A1001
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
printf("Hello,World!");
return 0;
}
A1002
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b;
scanf("%lld %lld",&a,&b);
printf("%lld",b);
return 0;
}
A1003:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b,c;
cin>>a>>b>>c;
printf("%8lld %8lld %8lld",a,b,c);
return 0;
}
A1004:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
char p;
cin>>p;
cout<<" "<<p<<"\n "<<p<<p<<p<<"\n"<<p<<p<<p<<p<<p;
return 0;
}
A1005:
#include<bits/stdc++.h>
using namespace std;
int main(){
double a,b,c,d;
cin>>a>>b>>c>>d;
double e=a*b,f=c*d;
int g=(e-f)/(b-d);
cout<<g<<".00";
return 0;
}
A1006:
#include<bits/stdc++.h>
using namespace std;
signed main(){
string s;
cin>>s;
if(s[0]!='-') s='-'+s;
cout<<s;
return 0;
}
A1007:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b,c;
scanf("%lld %lld %lld",&a,&b,&c);
printf("%lld",(a+b)*c);
return 0;
}
A1008:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b,c;
scanf("%lld %lld %lld",&a,&b,&c);
printf("%lld",(a+b)/c);
return 0;
}
A1009:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b;
scanf("%lld %lld",&a,&b);
printf("%lld %lld",a/b,a%b);
return 0;
}
A1010:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b;
scanf("%lld %lld",&a,&b);
double ans=1.0;
ans*=a;
ans/=b;
printf("%.9lf",ans);
return 0;
}
A1011:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b;
scanf("%lld %lld",&a,&b);
double ans=100.0*b/a;
printf("%.3lf%%",ans);
return 0;
}
A1012:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
double x,a,b,c,d;
scanf("%lf %lf %lf %lf %lf",&x,&a,&b,&c,&d);
printf("%.7lf",x*x*x*a+x*x*b+x*c+d);
return 0;
}
A1013:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
double f,a;
scanf("%lf",&f);
a=5*(f-32)/9;
printf("%.5lf",a);
return 0;
}
A1014:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
double p,a,b,c;
scanf("%lf",&p);
a=2*p;
b=3.14159*a;
c=3.14159*p*p;
printf("%.4lf %.4lf %.4lf",a,b,c);
return 0;
}
A1015:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
double r1,r2;
scanf("%lf %lf",&r1,&r2);
//cout<<r1<<" "<<r2<<endl;
double R=1.0/(1.0/r1+1.0/r2);
printf("%.2lf",R);
return 0;
}
A1016:
#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
short b;
cout<<sizeof(a)<<" "<<sizeof(b)<<endl;
}
A1017:
#include<bits/stdc++.h>
using namespace std;
int main(){
float a;
double b;
cout<<sizeof(a)<<" "<<sizeof(b)<<endl;
}
A1018:
#include<bits/stdc++.h>
using namespace std;
int main(){
bool a;
char b;
cout<<sizeof(a)<<" "<<sizeof(b)<<endl;
}
A1019:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
double p;
int a;
scanf("%lf",&p);
a=p;
printf("%lld",a);
return 0;
}
A1020:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
char u;
cin>>u;
cout<<(int)(u);
return 0;
}
A1021:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a;
scanf("%lld",&a);
cout<<char(a);
return 0;
}
A1022:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a;
scanf("%lld",&a);
cout<<bool(a);
return 0;
}
A1023:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
cout<<14;
return 0;
}
A1024:
#include<bits/stdc++.h>
using namespace std;
int main(){
double x;
scanf("%lf",&x);
printf("%.3lf",x);
return 0;
}
A1025:
#include<bits/stdc++.h>
using namespace std;
int main(){
long double x;
scanf("%Lf",&x);
printf("%.12Lf",x);
return 0;
}
A1026:
#include<bits/stdc++.h>
using namespace std;
int main(){
char a;
int b;
float c;
double d;
scanf("%c\n%d\n%f\n%lf",&a,&b,&c,&d);
printf("%c %d %.6f %.6lf",a,b,c,d);
return 0;
}
A1027:
#include<bits/stdc++.h>
using namespace std;
int main(){
double x;
scanf("%lf",&x);
printf("%f\n%.5f\n%e\n%g",x,x,x,x);
}
A1028:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
char u;
scanf("%c",&u);
printf(" %c\n %c%c%c\n%c%c%c%c%c\n %c%c%c\n %c",u,u,u,u,u,u,u,u,u,u,u,u,u);
}
A1029:
#include<bits/stdc++.h>
using namespace std;
int main(){
double a,b;
cin>>a>>b;
int q=a/b;
double r=a-b*q;
cout<<r;
}
A1030:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
double x;
scanf("%lf",&x);
printf("%.2lf",x*x*x*3.14*4.0/3.0);
return 0;
}
A1031:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int x;
cin>>x;
cout<<x%10<<x/10%10<<x/100;
return 0;
}
A1032:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
double h,r;
scanf("%lf %lf",&h,&r);
//cout<<h*r*r*3.14<<endl;
printf("%lld",(int)(ceil(20000.0/(h*r*r*3.14))));
return 0;
}
A1033:
#include<bits/stdc++.h>
using namespace std;
int main(){
double a,b,x,y;
scanf("%lf %lf\n%lf %lf",&a,&b,&x,&y);
printf("%.3lf",sqrt((a-x)*(a-x)+(b-y)*(b-y)));
}
A1034:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
double a,b,c,d,e,f;
scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,&f);
double g,h,i;
g=sqrt((a-c)*(a-c)+(b-d)*(b-d));
h=sqrt((a-e)*(a-e)+(b-f)*(b-f));
i=sqrt((c-e)*(c-e)+(d-f)*(d-f));
double p=(g+h+i)/2.0;
double s=sqrt(p*(p-i)*(p-h)*(p-g));
printf("%.2lf",s);
return 0;
}
A1035:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b,n;
scanf("%lld %lld %lld",&a,&b,&n);
printf("%lld",(n-1)*(b-a)+a);
}
A1036:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b;
scanf("%lld %lld",&a,&b);
printf("%lld",a*b);
}
A1037:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a;
scanf("%lld",&a);
printf("%lld",(int)(pow(2.0,a*1.0)));
}
A1038:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int n,x,y;
scanf("%lld %lld %lld",&n,&x,&y);
printf("%lld",(int)(n-(int)(ceil(double(y)/double(x)))));
return 0;
}
A1039:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int x;
scanf("%lld",&x);
if(x>0) puts("positive");
else if(x==0) puts("zero");
else puts("negative");
}
A1040:
#include<bits/stdc++.h>
using namespace std;
signed main(){
double a;
scanf("%lf",&a);
printf("%.2lf",abs(a));
}
A1041:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int b;
scanf("%lld",&b);
if(b%2==1) puts("odd");
else puts("even");
}
A1042:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
char u;
scanf("%c",&u);
if(u%2==1) puts("YES");
else puts("NO");
}
A1043:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b;
scanf("%lld %lld",&a,&b);
if(a>b) puts(">");
else if(a<b) puts("<");
else puts("=");
}
A1044:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int x;
scanf("%lld",&x);
if(x>=10&&x<100) printf("1");
else printf("0");
}
A1045:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b;
scanf("%lld %lld",&a,&b);
if(a>=10||b>=20) puts("1");
else puts("0");
}
A1046:
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int p;
scanf("%lld",&p);
if(p%3==0&&p%5==0) puts("YES");
else puts("NO");
return 0;
}
A1047:
#include<bits/stdc++.h>
using namespace std;
#define int long long
bool flag=true;
signed main(){
int x;
scanf("%lld",&x);
if(x%3==0) printf("3 "),flag=false;
if(x%5==0) printf("5 "),flag=false;
if(x%7==0) printf("7 "),flag=false;
if(flag) printf("n");
}
A1048:
#include<bits/stdc++.h>
using namespace std;
#define int long long
int a,b,c=0;
signed main(){
scanf("%lld %lld",&a,&b);
if(a<60) c++;
if(b<60) c++;
if(c==1) printf("1");
else printf("0");
}
A1049:
#include<bits/stdc++.h>
using namespace std;
#define int long long
int x;
signed main(){
scanf("%lld",&x);
if(x!=1&&x!=3&&x!=5) printf("YES");
else printf("NO");
}