using System;
public class Test {
public static void Main() {
const int MAX_LENGTH = 30;
String long_string = "dsrgsghhhhhhhtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttthhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhsfgshgfhghfghfghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh";
System.Console.WriteLine((long_string.Length < MAX_LENGTH)
? long_string
: long_string.Substring(0, MAX_LENGTH));
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QgewogICAgcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKSB7CiAgICAgICAgY29uc3QgaW50IE1BWF9MRU5HVEggPSAzMDsKICAgICAgICBTdHJpbmcgbG9uZ19zdHJpbmcgPSAiZHNyZ3NnaGhoaGhoaHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHRoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoc2Znc2hnZmhnaGZnaGZnaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoIjsKCiAgICAgICAgU3lzdGVtLkNvbnNvbGUuV3JpdGVMaW5lKChsb25nX3N0cmluZy5MZW5ndGggPCBNQVhfTEVOR1RIKQogICAgICAgICAgICA/IGxvbmdfc3RyaW5nCiAgICAgICAgICAgIDogbG9uZ19zdHJpbmcuU3Vic3RyaW5nKDAsIE1BWF9MRU5HVEgpKTsKICAgIH0KfQ==