" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
using namespace std;
string x;
int suma;
int main()
{
cin >> x;
cout << "ilosc=" << x[x.size()-7];
for(int i=0; i<x.size(); i++)
if(x[i]=='6')
suma++;
cout << "suma=" << 6*suma;
}