The kinetic energy K of a moving object varies jointly with its mass m and the square of the velocity v. If an object weighing 16 kilograms and moving with a velocity of 10 meters per second has a kinetic energy of 800 joules, find its kinetic energy when the velocity is 23 meters per second.