#include using namespace std; typedef long long ll; int main() { string s; cin>>s; int m3,m5; m3=m5=0; for (int i=0;i