A particle A is projected vertically upwards. Another particle B is projected at an angle of 45^∘. Both reach the same height. The ratio of the initial kinetic energy of A to that of B is: