import java.util.*;
class Ideone {
public static void main
(String[] args
){ String[] array
= {"01.um",
"02.dois",
"03.tres"};
for(int i = 0; i < array.length; i++)
array[i] = array[i].substring(0, 2);
}
}
aW1wb3J0IGphdmEudXRpbC4qOwoKY2xhc3MgSWRlb25lIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKXsKICAgIAlTdHJpbmdbXSBhcnJheSA9IHsiMDEudW0iLCAiMDIuZG9pcyIsICIwMy50cmVzIn07CgkKCQlmb3IoaW50IGkgPSAwOyBpIDwgYXJyYXkubGVuZ3RoOyBpKyspCgkJCWFycmF5W2ldID0gYXJyYXlbaV0uc3Vic3RyaW5nKDAsIDIpOwoJCQkKCQlTeXN0ZW0ub3V0LnByaW50bG4oQXJyYXlzLnRvU3RyaW5nKGFycmF5KSk7Cgl9Cn0=