Php Get Multidimensional Array Codeforces Practice