sol of q029. overthinking again.. del post-filtering