Hi. Does anyone have an idea why it doesn't work? I'm getting correct output