rt,传送门
实在不行给个HACK数据也行
#define I return
#define AK 0
#define IOI ;
#include "bits/stdc++.h"
using namespace std;
char a[62501];
int main(){
int i=1,x=0,y=0;
while(1){
cin>>a[i];
if(a[i]=='E')break;
i++;
}
i-=1;
for(int l=1;l<=i;l++){
if(a[l]=='W')x++;
if(a[l]=='L')y++;
if(l%11==0){
cout<<x<<":"<<y<<"\n";
x=0;
y=0;
}
}
if(x!=0||y!=0)cout<<x<<":"<<y<<'\n';
cout<<'\n';
x=0;
y=0;
for(int l=1;l<=i;l++){
if(a[l]=='W')x++;
if(a[l]=='L')y++;
if(l%21==0){
cout<<x<<":"<<y<<'\n';
x=0;
y=0;
}
}
if(x!=0||y!=0)cout<<x<<":"<<y;
I AK IOI
}