i = 0;['a','b','c','d','e','f'].permutation(6).each do |s| i = i + 1; if(i==428) then p s.join endend
Standard input is empty
"dcfaeb"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!