list all the possible codes out of the given digits. 1, 3, 4, and 7