Two test cases failing

The set is getting updated correctly however the ans is wrong