Allow symbols to appear in any order in the input