$/=',';printf'%.2f',(<>+<>)*<>/2