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]: [2975, 3781, 'D', 'd', 'K', 4033, '3783', 'n', 'k', '327', 't', '9871', '233', 's', 'e', 'P', 3411, 'J', 'e'], [4339, 2811, '3783', 'n', 'k', '327', 't', '9871', '233', 'l', 'f', 4263, 7913]
[EX A]: 3783, n, k, 327, t, 9871, 233

[EX Q]: [21, 8857, 9909, 9961, 9065, 'W', '3721', 'G', '4359', 'O', 'h', '849', 'G', '8333', 'Y', '4129', 'g', '4559', 'a', 'G', 'I', 'N', 'Q', '981', 'Y', 'B', 'f', 8271, 'v', 7243, 7471, 8421, 'x', 'P'], ['F', 4823, 'i', 9245, 'O', 809, 'T', 8287, 237, 'G', 3733, 'W', '3721', 'G', '4359', 'O', 'h', '849', 'G', '8333', 'Y', '4129', 'g', '4559', 'a', 'G', 'I', 'N', 'Q', '981', 'Y', 'B', 'e', 3233, 6083, 'x']
[EX A]:
W, 3721, G, 4359, O, h, 849, G, 8333, Y, 4129, g, 4559, a, G, I, N, Q, 981, Y, B