I know that my code isn't the most eye pleasing code you could write, but it works and the output is 100% right. Where's the issue?