leetcode/1386_shift-2d-grid/python3/solution.py