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

Example Input: [9525, 't', 3155, 5631, 5645, 'M', 'p', 'n', 'M', 3321, 6305, 'h', 2935, 't', 'R', 'r', 1307, 'i', '1527', '8659', '8931', 'M', 'f', 'f', '9303', '5559', 'D', 'l', 'o', '2333', 'g', '7037', '6993', 'k', '2893', 'X', 'v', 'i', '9517', 'x', '1591', '7527', 'h', 'F', 'T', '7673', '8829', 'n', 5673, 'd', 6513, 'm', 'N', 'K', 4883, 'F', 2833, 739, 'Z', 'n'], ['u', 'M', 'b', 5671, 4401, 'j', 'r', 743, 633, 4021, 'i', 8229, 'a', 'J', 5117, 3953, 's', 5899, 4883, 'h', 'M', 'd', 1421, 6837, '1527', '8659', '8931', 'M', 'f', 'f', '9303', '5559', 'D', 'l', 'o', '2333', 'g', '7037', '6993', 'k', '2893', 'X', 'v', 'i', '9517', 'x', '1591', '7527', 'h', 'F', 'T', '7673', '8829', 'Y', 5741, 3519, 63, 'x', 'h', 7511]
Example Output: 1527, 8659, 8931, M, f, f, 9303, 5559, D, l, o, 2333, g, 7037, 6993, k, 2893, X, v, i, 9517, x, 1591, 7527, h, F, T, 7673, 8829

Example Input: [6529, 'i', 8343, 't', 'h', 5181, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'E', 'W', 625, 'O', 'm'], [4169, 8965, 6125, 'U', 'x', 'E', 7203, 'I', 81, 'P', 'r', 8581, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'v', 'f', 'q', 'b', 'm', 'f', 9239, 'b', 895, 703, 7809, 'E', 'l', 'c', 7915]
Example Output: k, 5863, m, P, 9787, r, 1383, U, a, p, T, 1635, J, X, O

Example Input: [59, 'X', 'Q', 145, 'I', 4881, 9651, 'h', 7737, 'I', 4015, 'y', 'W', 'f', '3837', 'O', '9891', '971', 'z', 'o', '8915', '1917', '903', '4753', 'I', 'X', '8609', '9597', '7485', 'g', 'Z', 'A', 'X', 'M', 'u', 'T', 2415, 'e', 9269, 'O', 6417, 4293, 'l', 10025, 's', 8025, 'I', 'y', 'S', 10005, 931, 403], [5255, 4737, 'C', 5821, 1291, 7333, 6685, 6029, 'Y', 8103, 'o', 'C', 59, 4189, 8023, 'x', 'O', 'W', 'f', '3837', 'O', '9891', '971', 'z', 'o', '8915', '1917', '903', '4753', 'I', 'X', '8609', '9597', '7485', 'g', 'Z', 'A', 'X', 'M', 'I', 5193, 'u', 'f']
Example Output:
W, f, 3837, O, 9891, 971, z, o, 8915, 1917, 903, 4753, I, X, 8609, 9597, 7485, g, Z, A, X, M