import numpy as np
MODULO = 5
def mod(x, y):
    ans = pow(x, y) % MODULO
    return ans
grid = [[0] * ((MODULO-1)) for i in range((MODULO-1))]
for x in range(MODULO-1):
    for y in range(MODULO-1):
        grid[x][y] = mod(x+1,y+1)
print(np.matrix(grid))
c95e8517529bc31ebda8ee268d5dac149545629b
<mask token>


def mod(x, y):
    ans = pow(x, y) % MODULO
    return ans


<mask token>

<mask token>


def mod(x, y):
    ans = pow(x, y) % MODULO
    return ans


<mask token>
for x in range(MODULO - 1):
    for y in range(MODULO - 1):
        grid[x][y] = mod(x + 1, y + 1)
print(np.matrix(grid))

<mask token>
MODULO = 5


def mod(x, y):
    ans = pow(x, y) % MODULO
    return ans


grid = [([0] * (MODULO - 1)) for i in range(MODULO - 1)]
for x in range(MODULO - 1):
    for y in range(MODULO - 1):
        grid[x][y] = mod(x + 1, y + 1)
print(np.matrix(grid))

import numpy as np
MODULO = 5


def mod(x, y):
    ans = pow(x, y) % MODULO
    return ans


grid = [([0] * (MODULO - 1)) for i in range(MODULO - 1)]
for x in range(MODULO - 1):
    for y in range(MODULO - 1):
        grid[x][y] = mod(x + 1, y + 1)
print(np.matrix(grid))

import numpy as np
MODULO = 5
def mod(x, y):
    ans = pow(x, y) % MODULO
    return ans
grid = [[0] * ((MODULO-1)) for i in range((MODULO-1))]
for x in range(MODULO-1):
    for y in range(MODULO-1):
        grid[x][y] = mod(x+1,y+1)
print(np.matrix(grid))