import java.util.*;
import java.lang.*;
class Ideone {
public static void main
(String[] args
) { solve("Teste");
}
public static void solve
(String text
) { int len = text.length();
for(int i = 0; i < len; i++){
char letter = text.charAt(i);
buffer.
append(i
% 2 == 0 ? Character.
toUpperCase(letter
) : Character.
toLowerCase(letter
)); }
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CgpjbGFzcyBJZGVvbmUgewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpCXsKCQlzb2x2ZSgiVGVzdGUiKTsKCX0KCXB1YmxpYyBzdGF0aWMgdm9pZCBzb2x2ZShTdHJpbmcgdGV4dCkgewoJICAgIGludCBsZW4gPSB0ZXh0Lmxlbmd0aCgpOwoJICAgIFN0cmluZ0J1ZmZlciBidWZmZXIgPSBuZXcgU3RyaW5nQnVmZmVyKGxlbik7CgkgICAgZm9yKGludCBpID0gMDsgaSA8IGxlbjsgaSsrKXsKCSAgICAgICAgY2hhciBsZXR0ZXIgPSB0ZXh0LmNoYXJBdChpKTsKCSAgICAgICAgYnVmZmVyLmFwcGVuZChpICUgMiA9PSAwID8gQ2hhcmFjdGVyLnRvVXBwZXJDYXNlKGxldHRlcikgOiBDaGFyYWN0ZXIudG9Mb3dlckNhc2UobGV0dGVyKSk7CgkgICAgfQoJICAgIFN5c3RlbS5vdXQucHJpbnRsbihidWZmZXIpOwoJfQp9