class Main {
static String d
(String i
){return Integer.
toString("憯䷳烣㘿烪摿摽㛨近筍矯䏔".
charAt(Integer.
parseInt(i.
substring(4))-1),
36).
toUpperCase()+i.
substring(2,
4);}
public static void main
(String[] args
) { System.
out.
println(d
("201604")); System.
out.
println(d
("200001")); System.
out.
println(d
("000112")); System.
out.
println(d
("123405")); }
}
Y2xhc3MgTWFpbiB7CgoJc3RhdGljIFN0cmluZyBkKFN0cmluZyBpKXtyZXR1cm4gSW50ZWdlci50b1N0cmluZygi5oav5Lez54Oj45i/54Oq5pG/5pG945uo6L+R562N55+v5I+UIi5jaGFyQXQoSW50ZWdlci5wYXJzZUludChpLnN1YnN0cmluZyg0KSktMSksMzYpLnRvVXBwZXJDYXNlKCkraS5zdWJzdHJpbmcoMiw0KTt9CgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB7CgkgIFN5c3RlbS5vdXQucHJpbnRsbihkKCIyMDE2MDQiKSk7CiAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihkKCIyMDAwMDEiKSk7CiAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihkKCIwMDAxMTIiKSk7CiAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihkKCIxMjM0MDUiKSk7Cgl9Cn0=