#include <iostream>
#include <cmath>
using namespace std;
int main(){
int ans = 0;
long long x = pow(2, 34);
while (x != 0) {
ans += x % 10;
x /= 10;
}
cout << ans;
return 0;
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int ans = 0;
long long x = pow(2, 34);
while (x != 0) {
ans += x % 10;
x /= 10;
}
cout << ans;
return 0;
}