#include <stdio.h>
int main() {
char str[100];
int n,m, temp;
for(int i=0; i<n; i++){
}
for (int i = 0; i < n - 1; i++) {
for (int j = 0; j < n - i - 1; j++) {
if (str[j] > str[j + 1]) {
// Swap the characters
temp = str[j];
str[j] = str[j + 1];
str[j + 1] = temp;
}
}
}
for(int i=0; i<n; i++){
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGNoYXIgc3RyWzEwMF07CiAgICBpbnQgbixtLCB0ZW1wOwogICAgcHJpbnRmKCJTdHJpbmcgU2l6ZTogIik7CiAgICBzY2FuZigiJWQiLCAmbik7CiAgICBwcmludGYoIkVudGVyIFN0cmluZyA6ICIpOwogICAgZm9yKGludCBpPTA7IGk8bjsgaSsrKXsKICAgICAgICBzY2FuZigiICVjIiwgJnN0cltpXSk7CiAgICB9CiAgICBnZXRjaGFyKCk7CgogICAKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgbiAtIDE7IGkrKykgewogICAgICAgIGZvciAoaW50IGogPSAwOyBqIDwgbiAtIGkgLSAxOyBqKyspIHsKICAgICAgICAgICAgaWYgKHN0cltqXSA+IHN0cltqICsgMV0pIHsKICAgICAgICAgICAgICAgIC8vIFN3YXAgdGhlIGNoYXJhY3RlcnMKICAgICAgICAgICAgICAgIHRlbXAgPSBzdHJbal07CiAgICAgICAgICAgICAgICBzdHJbal0gPSBzdHJbaiArIDFdOwogICAgICAgICAgICAgICAgc3RyW2ogKyAxXSA9IHRlbXA7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9CiAgICBmb3IoaW50IGk9MDsgaTxuOyBpKyspewogICAgICAgIHByaW50ZigiJWMgIiwgc3RyW2ldKTsKICAgIH0KfQ==