Solution is correct but not what the question is expecting

Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarreddy@gmail.com>