Enter keywords and print their permutations.