/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.SimpleDateFormat;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
// your code goes here
String[] mmss
= new String[]{"0:11",
"0:54",
"0:13",
"0:08",
"2:31"};
long total = 0;
for(int i = 0; i < mmss.length; i++)
{
total += sdf.parse(mmss[i]).getTime();
}
System.
out.
println(sdf.
format(new Date(total
/mmss.
length))); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnRleHQuU2ltcGxlRGF0ZUZvcm1hdDsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJLy8geW91ciBjb2RlIGdvZXMgaGVyZQoJCVN0cmluZ1tdIG1tc3MgPSBuZXcgU3RyaW5nW117IjA6MTEiLCAiMDo1NCIsICIwOjEzIiwgIjA6MDgiLCAiMjozMSJ9OwoJCQoJCVNpbXBsZURhdGVGb3JtYXQgc2RmID0gbmV3IFNpbXBsZURhdGVGb3JtYXQoIm1tOnNzIik7CgkJbG9uZyB0b3RhbCA9IDA7CgkJZm9yKGludCBpID0gMDsgaSA8IG1tc3MubGVuZ3RoOyBpKyspCgkJewoJCQl0b3RhbCArPSBzZGYucGFyc2UobW1zc1tpXSkuZ2V0VGltZSgpOwoJCX0KCQlTeXN0ZW0ub3V0LnByaW50bG4oc2RmLmZvcm1hdChuZXcgRGF0ZSh0b3RhbC9tbXNzLmxlbmd0aCkpKTsKCX0KfQ==