Card dressage

Sign in to test your solution.