Php Get Multidimensional Array Codeforces Problem Solve