#include <iostream> #include<string> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int r=0,g=0,b=0; string s; cin>>s; for(char c:s){ if(c=='R')r++; if(c=='G')g++; if(c=='B')b++; } cout<<"("<<r<<","<<g<...