fork download
  1. class Main {
  2.  
  3. static String d(String i){return Integer.toString("憯䷳烣㘿烪摿摽㛨近筍矯䏔".charAt(Integer.parseInt(i.substring(4))-1),36).toUpperCase()+i.substring(2,4);}
  4.  
  5. public static void main (String[] args) {
  6. System.out.println(d("201604"));
  7. System.out.println(d("200001"));
  8. System.out.println(d("000112"));
  9. System.out.println(d("123405"));
  10. }
  11. }
Success #stdin #stdout 0.1s 320512KB
stdin
Standard input is empty
stdout
APR16
JAN00
DEC01
MAY34