// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class S2I {
    private static int convert(String s) {
        return Integer.parseInt(s) - 1;
    }
    public static void main(String[] args) {
        String[] sa = { "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12" };
        for(String s : sa) {
            System.out.println(s + " " + convert(s));
        }
    }
}
