import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.regex.*;
class Ideone
{
{
String test
= "24.12.17 18:17 TestString"; int idx = test.indexOf(" ", test.indexOf(" ") + 1);
System.
out.
println(test.
substring(0, idx
)); System.
out.
println(test.
substring(idx
).
trim()); }
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwucmVnZXguKjsKY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVN0cmluZyB0ZXN0ID0gIjI0LjEyLjE3IDE4OjE3IFRlc3RTdHJpbmciOwogICAgCWludCBpZHggPSB0ZXN0LmluZGV4T2YoIiAiLCB0ZXN0LmluZGV4T2YoIiAiKSArIDEpOwoJCVN5c3RlbS5vdXQucHJpbnRsbih0ZXN0LnN1YnN0cmluZygwLCBpZHgpKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4odGVzdC5zdWJzdHJpbmcoaWR4KS50cmltKCkpOwoJfQp9