Php Get Multidimensional Array Codeforces Problem Set 0