// Example: I96c9e5
print "Example: I96c9e5";
previous_setting := GetEchoInput();
SetEchoInput(true);
order_elts := function(G, k)
    eltset := { G | };
    for g in G do
        if Order(g) eq k then
            Include(~eltset, g);
        end if;
    end for;
    return eltset;
end function;
print order_elts(Sym(5), 6);
SetEchoInput(previous_setting);
