This repository has been archived on 2023-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
|
use std::io;
|
|
|
|
fn main() {
|
|
let mut buf = String::new();
|
|
io::stdin().read_line(&mut buf).unwrap();
|
|
|
|
let mut numbers: Vec<String> = buf.trim_end().split('+').map(|item| item.to_string()).collect();
|
|
numbers.sort();
|
|
|
|
println!("{}", numbers.join("+"));
|
|
}
|