Two identical balls `A` and `B` are released from the position shown in Fig. They collide elastically with each other on the horizontal portion. The ratio of heights attained by `A` and `B` after collision is (neglect friction)
A. `1:4`
B. `2:1`
C. `4:13`
D. `2:5`