HZNUOJ

Calories from Fat

Tags:
Time Limit:  1 s      Memory Limit:   128 MB
Submission:9     AC:6     Score:99.81

Samples

input
3g 10g 10% 0g 0g 55% 100C 0% 0g 30g - 25g 0g 0g 0g 0g - 1g 15% 20% 30% 1C - -
output
53% 100% 32%