#include using namespace std; #define rep(i,n) for(int i=0;i vi; typedef vector > vvi; typedef pair pii; const vi dy = {-1, 0, 1, 0}, dx = {0, -1, 0, 1}; template ostream& operator<< (ostream& out, const pair& p) { out << '(' << p.first << ", " << p.second << ')'; return out; } template ostream& operator<< (ostream& out, const vector& v) { out << '['; rep(i, v.size()) out << v[i] << ","; out << "\b], " << v.size(); return out; } void solve(){ string S; cin >> S; int ans = 0; string KUROI = "KUROI"; vector tmp; vector used(101, false); for(;;){ int state = 0; int currentFound = 0; for(int i=0;i