문제
풀이
#include <iostream>
#include <string>
using namespace std;
void solve(void) {
string s; cin >> s;
int ans = s.length();
for (char c : s) ans += (c == ':');
for (char c : s) ans += (c == '_') * 5;
cout << ans;
}
int main(void) {
ios::sync_with_stdio(false);
cin.tie(nullptr);
solve();
return 0;
}