Honey Bees
The behavioral activity of worker honey bees can be divided into the following recognizable tasks: resting (Re), patrolling (Pt), Cell-cleaning (Cc), eating pollen (Ea), tending brood (Tb), comb-building and maintenance (Cm), and external activities (Ex) such as guarding, foraging and dance-following.
The tasks carried out by a honey bee were recorded at hourly intervals for a day, resulting in a data set consisting of whitespace separated symbols from the set {Re, Pt, Cc, Ea, Tb, Cm, Ex}.
Input
Consists of symbols from the set {Re, Pt, Cc, Ea, Tb, Cm, Ex}. The symbols are whitespace separated and could span for several lines. There are at most 24 symbols.
Output
Print a table consisting of 8 lines. Lines 1 to 7 are values in the following format:
Task Count Proportion
The tasks should be ordered this way: Re, Pt, Cc, Ea, Tb, Cm, and Ex. The count is the total frequency count of the task while proportion is the the frequency count divided by the total number of recorded tasks. The proportion should be rounded off to the nearest hundreths and should show exactly two digits after the decimal point.
The 8-th line should always be "Total C 1.00" where C is the total number of recorded tasks.