import java.util.Scanner;
class Main{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while(in.hasNext()){
double n = in.nextDouble();
if(n<0){
n=-1*n;
}
System.out.printf("%.2f",n);
System.out.println();
}
}
}
import java.util.Scanner;
class Main{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while(in.hasNext()){
int n = in.nextInt();
if (n<0||n>100) {
System.out.println("Score is error!");
}else{
int s =(int)n/10;
switch(s){
case 10:System.out.println("A");
case 9 :System.out.println("A");break;
case 8 :System.out.println("B");break;
case 7 :System.out.println("C");break;
case 6 :System.out.println("D");break;
default:System.out.println("E");break;
}
}
}
}
}
import java.util.Scanner;
class Main{
public static void main(String[] args) {
int[] months = {31,28,31,30,31,30,31,31,30,31,30,31};
Scanner in = new Scanner(System.in);
while (in.hasNext()) {
String str = in.next();
String[] s = str.split("/");
int year = Integer.parseInt(s[0]);
int month = Integer.parseInt(s[1]);
int day = Integer.parseInt(s[2]);
if (year%400==0 || year%4==0&&year%100!=0) {
months[1]=29;
}else{
months[1]=28;
}
int sum = 0;
for(int i=0;i<month-1;i++){
sum=sum+months[i];
}
sum=sum+day;
System.out.println(sum);
}
}
}