Two balls of equal masses are thrown upwards