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

[EX Q]: [5701, 'Y', 2511, 4707, 'i', 9083, 1187, '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'X', 8863, 7467, 665, 3485, 4035, 'g', 8795], [189, 8331, 'N', 'S', 'U', '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'R', 't', 9581, 5575, 'Q', 'Q', 1209]
[EX A]: 749, v, i, f, j, 5983, 4221, p, q, 8703, n, Z, O, A, H

[EX Q]: ['t', 'W', 'i', 't', 4163, 'd', 'k', 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'T', 6267, 5627, 'u', 'g', 'F', 3861], ['f', 'g', 'N', 'I', 'C', 4633, 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'A', 'K', 1819, 3343, 8603, 'h', 1751, 'h']
[EX A]: Y, V, 5149, 6959, 6843, 7821, 6533, g, 6879

[EX Q]: [3613, 'a', 'X', 'A', 's', 'a', 3957, 'q', 'x', 4235, 3993, 5663, 'S', '5417', 'N', 'W', 'H', '5751', 'a', '8603', 'I', '7471', '309', 'B', 'd', '3369', '6865', '649', 'F', 'Y', 8821, 881, 'n', 5723, 'H', 'O', 's', 5259, 'b', 'e', 5773, 4645, 'F', 'C', 'l'], ['F', 139, 5031, 3285, 'r', 7887, 1463, 'v', 'Y', 4313, 'N', 'k', 9277, 1165, 'S', '5417', 'N', 'W', 'H', '5751', 'a', '8603', 'I', '7471', '309', 'B', 'd', '3369', '6865', '649', 'F', 't', 'b', 9429, 'Z', 3509, 2675, 5257, 8519, 'A', 'g', 'i', 5479, 'P', 4469]
[EX A]:
S, 5417, N, W, H, 5751, a, 8603, I, 7471, 309, B, d, 3369, 6865, 649, F