It is giving WA , my answer is in ans / v