讨厌晴天

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

四川高温天气仍将持续,大部地区最高气温将达39~42℃或以上,酷热难耐,现在你手里有一些天气数据十分混乱,请你分别统计出晴、阴、雨这三种天气的天数。

Format

Input

一串表示天气的字符串,晴sunny阴overcast雨rain.

Output

分别输出晴、阴、雨天数.

Samples

sunnysunnysunnyrainrainovercast
3 1 2

数据范围

字符串长度不超过3e6

Limitation

1s, 1024KiB for each test case.

第六届SWPU-ACM正式队员选拔赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
18
Start at
2022-8-28 14:00
End at
2022-8-28 19:00
Duration
5 hour(s)
Host
Partic.
35