-module(s). -export([m/0]). m()->g(lists:sort(string:tokens(io:get_chars('',999)," "))). g([A,A|B])->g(B);g([A|B])->io:format(A++" "),g(B);g(_)->x.