#include int main() { int n; char o[10]; char d[10]; scanf("%i", &n); while (n != 0) { int sum = 0; scanf("%s", o); for (int i=0; i