C++|| EASY SOLUTION
```\n // PLEASE UPVOTE IF YOU LIKE THE SOLUTION !!\nclass Solution {\npublic:\n    int smallestEqual(vector& nums) {\n        int ans =-1;\n        vectork;\n  
```\n // PLEASE UPVOTE IF YOU LIKE THE SOLUTION !!\nclass Solution {\npublic:\n    int smallestEqual(vector<int>& nums) {\n        int ans =-1;\n        vector<int>k;\n        \n        for(int i=0;i<nums.size();i++)\n        {\n            if((  i%10 )== nums[i])\n            {\n                k.push_back(i);\n                ans++;\n                \n        }}\n        if(ans!=-1)\n        {\n        sort(k.begin(),k.end());\n            return k[0];\n        }\n        else\n        return ans;\n        \n    }\n};
['C']