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

[EX Q]: ['I', 583, 4045, 't', 'N', 'H', '1017', 'u', '7255', '8583', 'M', 'x', '143', 'e', 'l', 'U', 'S', '791', 'a', '6927', '3887', 'R', 'i', 493, 2571, 7837], ['E', 3649, 'M', 7321, 8477, 1609, 'p', '1017', 'u', '7255', '8583', 'M', 'x', '143', 'e', 'l', 'U', 'S', '791', 'a', '6927', '3887', 'j', 4719, 'u', 'F', 'U', 'P', 'c', 3121, 'u', 6871, 'T']
[EX A]: 1017, u, 7255, 8583, M, x, 143, e, l, U, S, 791, a, 6927, 3887

[EX Q]: ['s', 'M', 'y', 'b', 'S', 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'b', 'i', 'A', 2579, 8191, 'g', 3591, 4195, 'q', 1357], ['F', 'U', 'G', 7763, 1385, 'm', 1089, 4701, 1565, 'm', 9713, 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'X', 'b', 'f', 7385, 'G']
[EX A]: P, J, 8781, 7865, 1961, 6767, a, r, H, j, a

[EX Q]: [1973, 8431, 9633, 'c', 'j', 'x', 'z', 'E', 4673, 7239, 7609, 'R', 'W', '8375', 'y', '4801', '4445', 'p', '5475', 'w', 'c', '4139', '2809', 'x', 'f', '8321', 'c', 'g', 'h'], ['B', 1095, 'W', 'z', '8375', 'y', '4801', '4445', 'p', '5475', 'w', 'c', '4139', '2809', 'x', 'f', '8321', 'c', 'o', 'W', 9983, 'm', 'S', 'M']
[EX A]:
8375, y, 4801, 4445, p, 5475, w, c, 4139, 2809, x, f, 8321, c