Edited Div3 for more solutions