public static void main(String[] args) {
int [] s = {2,3,6,5};
for (int i = 0; i < s.length; i++){
System.out.print(s[i]);
}
// System.out.println(s);
StringBuffer formatString = new StringBuffer("{");
for (int i = 0; i < s.length - 1; i++){
formatString.append(s[i]);
}
formatString.append(s[s.length - 1]);
formatString.append("}");
System.out.print(formatString.toString());