#include #include #include using namespace std; class range {private: struct I{int x;int operator*(){return x;}bool operator!=(I& lhs){return x> s; map kort; for(char ch : s) { kort[ch]++; } int res = min({kort['t'], kort['r'], kort['e']/2}); printf("%d\n", res); return 0; }