import java.util.Scanner;
public interface Problem1 {
public static void main(String [] args){
System.out.println("请输入所求长度的字符串");
Scanner input = new Scanner(System.in);
String s = input.next();
System.out.println(getLength(s));
}
public static int getLength(String s){
int len = s.length();
return len;
}
}