import java.util.*;

public class Different {
    public boolean checkDifferent(String iniString) {
        // write code here
        boolean flag = true;
        for(int i =0;i<iniString.length();i++){
            char ch = iniString.charAt(i);
            if(iniString.indexOf(ch)!=iniString.lastIndexOf(ch)){
                flag = false;
                break;
            }  
        }
        return flag;
    }

}