import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// for(int i = 0; i < 5; i++){
// double d1 = sc.nextDouble();
// double d2 = sc.nextDouble();
// double d3 = sc.nextDouble();
// double d4 = sc.nextDouble();
// double d5 = sc.nextDouble();
// double sum = d1+d2+d3+d4+d5;
// System.out.printf("%.1f %.1f %.1f %.1f %.1f %.1f\n",d1,d2,d3,d4,d5,sum);
// }
while(sc.hasNext()){
String input = sc.nextLine();
String[] scores = input.split(" ");
double sum = 0.0;
double[] d = new double[5];
for(int i = 0; i < 5; i++){
d[i] = Double.parseDouble(scores[i]);
sum += d[i];
}
System.out.printf("%.1f %.1f %.1f %.1f %.1f %.1f\n",d[0],d[1],d[2],d[3],d[4],sum);
}
}
}
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// for(int i = 0; i < 5; i++){
// double d1 = sc.nextDouble();
// double d2 = sc.nextDouble();
// double d3 = sc.nextDouble();
// double d4 = sc.nextDouble();
// double d5 = sc.nextDouble();
// double sum = d1+d2+d3+d4+d5;
// System.out.printf("%.1f %.1f %.1f %.1f %.1f %.1f\n",d1,d2,d3,d4,d5,sum);
// }
while(sc.hasNext()){
String input = sc.nextLine();
String[] scores = input.split(" ");
double sum = 0.0;
double[] d = new double[5];
for(int i = 0; i < 5; i++){
d[i] = Double.parseDouble(scores[i]);
sum += d[i];
}
System.out.printf("%.1f %.1f %.1f %.1f %.1f %.1f\n",d[0],d[1],d[2],d[3],d[4],sum);
}
}
}