/*
#include <stdio.h>
int main()
{
int a,b;
char c;
scanf ("%d%c%d",&a,&c,&b);
switch (c)
{
case '+' : printf("%d",a+b); break;
case '-' : printf("%d" ,a-b); break;
case '*' : printf("%d" ,a*b); break;
default : printf("%.2lf",(double)a/b); break;
}
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
int a,b,y,m,d;
char n;
scanf ("%d %d",&a, &b);
b=b/1000000;
y = a/10000;
m = (a%10000)/100;
d = a%100;
if (b<=2) {
y = y + 1900;
}
//781201-1273845
else {
y = y + 2000;
}
if (b%2==0) {
n = 'F';
else {
n = 'M';
}
printf ("%d/%02d/%02d %c",y, m, d, n);
}
*/
/*
#include <stdio.h>
int main()
{
int a,b,c,d,e;
scanf ("%d %d\n %d",&a, &b, &c);
d = (b+c)/60;
e= (b+c)%60;
printf ("%d %d",(a+d)%24,e);
}
*/