public class Main {
    public static void main(String[] args) {
        String str = "Hello world!";
        System.out.println(str);
        System.out.println(str.length());
    }
}