LearnPy Hub
← Arena
EasyRating 900

Cricket Score

Each ball is written as runs (0, 1, 2, 3, 4 or 6) or W for a wicket. Print the total runs and wickets as runs/wickets.

Input

Balls separated by spaces.

Output

runs/wickets

Sample 1

Input
1 4 W 6 0 2
Output
13/1

Sample 2

Input
W W W
Output
0/3
solution.py
Output appears here
Cricket Score · Python Arena problem · LearnPy Hub