public class B{
public static void main(String[ ] args)
{
double t = ( 40 * 60 +35 )/120 +1 ;
double s = 24 * 1.6;
double v = s / t;
System.out.println("平均速度值为"+v+"km/h");
}