#include using namespace std; int main() { string s; cin>>s; int n = s.length(); int mod3 = 0; int mod5 = 0; for (int i=0; i