little balloons

my solution is showing wrong answer.
i am getting output:

is it possible that this may be reason of rejection. do they require output exactly as :
7.333333333 ???

Yes the output should be in specified format only.
Read this in problem sttement

Your answer will considered correct if it has at most 10^-6 absolute or relative error.