import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int idx = sc.nextInt();
sc.nextLine(); // 读掉换行符防止影响s字符串的读取
String s = sc.nextLine();
sc.close();
String[] st = s.split(" ");
int sum = 0;
for (int i = 0; i < st.length; i++) {
sum += st[i].length();
}
System.out.println(sum);
}
}
0 回复
0 转发
0 喜欢
2 阅读



