#!/usr/bin/java --source 11 import java.time.Instant; import java.time.temporal.ChronoUnit; public final class string { public static void main(String[] args) { StringBuffer sb = new StringBuffer(); String s; int i; String c; int j; for (i = 1; i <= 1000000; i++) { for (j = 65; j <= 90; j++) { c = Character.toString(j); sb.append(".("); sb.append(c); sb.append(")"); } } s = sb.toString(); System.out.println(s.length()); } }