quick and easy brute force solution with string replacements