public static void main(String[] args) {
        OJ354 oj354=new OJ354();
        //[5,4],[6,4],[6,7],[2,3]
        //[[1,15],[7,18],[7,6],[7,100],[2,200],[17,30],[17,45],[3,5],[7,8],[3,6],[3,10],[7,20],[17,3],[17,45]]
//        int[][] test={{1,15},{7,18},{7,6},{7,100},{2,200},{17,30},{17,45},{3,5},{7,8},{3,6},{3,10},{7,20},
//                {17,3},{17,45}};
        int[][] test={{5,4},{6,4},{6,7},{2,3},};
        int max= oj354.maxEnvelopes(test);
        System.out.println(max);
    }