very easy java solution
\nclass Solution {\n    public long findTheArrayConcVal(int[] nums) {\n        ArrayList<Integer>a=new ArrayList();\n        for(int x:nums){\n            a.add
```\nclass Solution {\n    public long findTheArrayConcVal(int[] nums) {\n        ArrayList<Integer>a=new ArrayList();\n        for(int x:nums){\n            a.add(x);\n            \n        }\n        long sum=0;\n        String b="";\n        while(a.size()>0){\n            if(a.size()>1){\n                b+=a.get(0)+""+a.get(a.size()-1)+"";\n                sum+=Long.parseLong(b);\n                b="";\n                a.remove(0);\n                a.remove(a.size()-1);\n               //System.out.println(sum);\n            }\n            else{\n                b+=a.get(0)+"";\n                a.remove(0);\n                sum+=Long.parseLong(b);\n            }\n        }return sum;\n    }\n}\n```
['Java']