def METHOD_NAME(a: T.handle, b: T.handle):
    m = T.int64()
    A = T.match_buffer(a, (m * 2,))
    B = T.match_buffer(b, (m, 2))
    for i, j in T.grid(m, 2):
        with T.block("B"):
            vi, vj = T.axis.remap("SS", [i, j])
            B[vi, vj] = A[vi * 2 + vj]