Modify problem #12 breakage