[Python3] simulation
\n\nclass Solution:\n    def findTheArrayConcVal(self, nums: List[int]) -> int:\n        n = len(nums)\n        ans = 0 \n        for i in range((n+1)//2): \n  
\n```\nclass Solution:\n    def findTheArrayConcVal(self, nums: List[int]) -> int:\n        n = len(nums)\n        ans = 0 \n        for i in range((n+1)//2): \n            if i == n-1-i: ans += nums[i]\n            else: ans += int(str(nums[i]) + str(nums[n-1-i]))\n        return ans \n```
['Python3']