Not getting correct output

@devanshkapur