        char ch;
        int count;

        public CharCount(char ch, int count) {
            this.ch = ch;
            this.count = count;
        }
    }
    public String reorganizeString(String S) {
        int[] counts = new int[26];
        int n = S.length();