https://leetcode.com/problems/find-the-array-concatenation-value


Success


```python
class Solution:
    def findTheArrayConcVal(self, nums: List[int]) -> int:
        value = 0
        while len(nums) > 0:
            if len(nums) >= 2:
                first = nums[0]
                last = nums[-1]
                temp_value = int(str(first) + str(last))
                value += temp_value
                nums = nums[1:-1]
            if len(nums) == 1:
                value += nums[0]
                nums = []
        return value
```
