There is a bug in that particular problem as I have submitted the correct code multiple times but still it does not accept it.