package demo.mix;import java.util.*;public final class z0{public static void main(String[]a){if(a.length==0){System.out.println("usage: put <k> <v> [ttlSec] | get <k> | list");return;}String m=a[0];if("put".equals(m)){String k=a.length>1?a[1]:"";String v=a.length>2?a[2]:"";long t=a.length>3?x0.p(a[3],60):60;String k2=y0.e(k);w0.P(k2,v,t);System.out.println("ok");}else if("get".equals(m)){String k=a.length>1?a[1]:"";String k2=y0.e(k);String v=w0.G(k2);System.out.println(v==null?"(null)":v);}else if("list".equals(m)){for(String k:w0.K()){System.out.println(y0.d(k)+":"+w0.G(k));}}else{System.out.println("bad op");}}}