In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]
5747, i, M

['Y', 'l', 6297, 9773, '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'T', 'O', 2961, 6077, 'L', 5737, 99, 2363, 'A', 'I', 'E', 5649, 4127, 'm', 3085], ['g', 8141, 'Y', 7433, 1501, 2423, 'P', 8359, 8589, 7265, 265, 'N', 'J', 8251, 'f', '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'K', 9051, 'Q', 'M']
6077, B, x, C, 7371, 5635, 9551, 8421, 6587, Y, L, i, 1275, J, s, C, 10005, x, 9473, I

['I', 'f', 7451, 'b', 133, 'S', '5731', 'K', '2191', 'T', 'z', '1339', 'p', 'J', 'B', '9175', '7675', 'q', '2055', 'W', 't', 'K', 9305, 'e', 2719, 'W', 'n', 9183, 'g', 2199, 'y', 6411, 7087, 'w', 8101, 'D'], ['h', 3493, 'S', '5731', 'K', '2191', 'T', 'z', '1339', 'p', 'J', 'B', '9175', '7675', 'q', '2055', 'W', 't', 'h', 4673, 'G', 'I', 'k', 'B', 'W', 3835, 'O', 4111, 1731, 1163, 'R', 5899, 7275]

S, 5731, K, 2191, T, z, 1339, p, J, B, 9175, 7675, q, 2055, W, t