package com.pku;
import java.io.*;
import java.util.*;
//http://acm.pku.edu.cn/JudgeOnline/
import java.text.*;
public class Pku1004 {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner cin = new Scanner(new BufferedInputStream(System.in));
double output = 0;
int i = 0;
DecimalFormat f= new DecimalFormat("#.00");
while(cin.hasNext()&&i<12)
{
output += cin.nextDouble();
i++;
}
System.out.println('$'+f.format(output/i));
}
}
posted on 2007-10-28 16:18
fullfocus 阅读(489)
评论(0) 编辑 收藏