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

[EX Q]: ['r', 'X', 7017, 'D', 2235, 'p', 'i', 3287, 'z', '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'W', 4175, 5695, 'r', 9809, 8187, 'G'], [8989, 2959, 7907, 'F', 2481, 'Q', 9095, '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'g', 5163, 'B', 2487, 'r', 'j', 'l', 293, 'Z']
[EX A]: 9245, S, 8055, 1843, 147, 4353, 9543, 9247, 6361, 609, v, z, 4349, d, 6611, 5101, G

[EX Q]: [987, 885, 2111, 'P', 'e', 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'a', 6295, 1061, 1619, 3509, 8583, 'f', 1157, 5365, 'l', 'x', 'B', 'U', 141, 5753, 'F', 7595, 'H'], [8245, 137, 5887, 1267, 5851, 'n', 7393, 'f', 9739, 9983, 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'F', 'k', 3463, 'U', 3587, 't', 'j', 'q', 'M', 1213, 9955, 'h', 9779, 'l', 8839, 'G', 8477, 9341, 6071, 'm']
[EX A]: h, h, C, P, V, 4563, E, J, M, n, C, Q, P, k, S, M, 8993, 8675, 6707, Q, r, 4351, Q, q

[EX Q]: ['H', 'J', 7273, 4609, 'X', 1459, 'X', 103, 'k', 'Y', 9959, 'f', 1833, 1407, 6879, 7035, 'R', 2733, 'z', 9473, 'W', 'F', 'T', 'S', 'c', '1501', '993', '2163', 'l', 'P', 'C', 'Y', '2675', '9095', 'o', 'd', '2073', 's', 'm', '5179', 'M', '2097', '4943', '5555', '535', 'S', '5419', '9789', '4317', 'q', 't', 'M', 5159, 'g', 5551, 1869, 2597, 'n', 'z', 7671, 'L'], ['g', 'u', 8517, 205, 'T', 'S', 'c', '1501', '993', '2163', 'l', 'P', 'C', 'Y', '2675', '9095', 'o', 'd', '2073', 's', 'm', '5179', 'M', '2097', '4943', '5555', '535', 'S', '5419', '9789', '4317', 'q', 't', 'l', 4069, 'A', 'Z']
[EX A]:
T, S, c, 1501, 993, 2163, l, P, C, Y, 2675, 9095, o, d, 2073, s, m, 5179, M, 2097, 4943, 5555, 535, S, 5419, 9789, 4317, q, t