This problem had been studied by Euler. Rearrange the colored letters below so that each row or column will have four letters and four colors.