Please help me with my physics homework I've been given a week and can't for the life of me work out how it is done.

Tom has a rubber ball which weighs 5 kilograms and bounces 3.8 meters from a drop height of 4 meters using this information please work out the mass of the Sun.

dumb question. Elasticity of the ball will have a much greater effect than any force applied by the sun, in whatever direction.