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

Q: ['u', 4637, 'h', 2259, 'M', 'i', 'h', 'X', 7083, 'o', 't', 9421, 't', 785, 'Y', 'Y', '5531', 'P', 'x', 'b', '4899', 'Y', '8909', '7749', 'k', '4049', '1237', 'M', '8579', 'N', '3167', '9123', '6973', '4981', 'I', '7231', '9783', '9823', 'c', 'e', '7169', '4003', 'C', 8237, 9899, 'M', 3217, 4903, 'I', 5279, 'T', 6849, 3373, 'x', 'S', 'l', 8665, 'V', 'v', 'I', 'A', 'E', 4367, 9513, 'i', 2897, 3433, 8091, 5011], [5327, 4587, 'E', 'w', 4287, 'W', 3339, 2729, 'q', 'Y', '5531', 'P', 'x', 'b', '4899', 'Y', '8909', '7749', 'k', '4049', '1237', 'M', '8579', 'N', '3167', '9123', '6973', '4981', 'I', '7231', '9783', '9823', 'c', 'e', '7169', '4003', 'p', 7351, 4915, 4485, 7747]

A: Y, 5531, P, x, b, 4899, Y, 8909, 7749, k, 4049, 1237, M, 8579, N, 3167, 9123, 6973, 4981, I, 7231, 9783, 9823, c, e, 7169, 4003
****
Q: [5381, 'H', 'w', 9281, 3195, 2609, 'v', 'q', 'O', 10019, 'Q', 'K', 'c', 'J', 'A', 'a', 313, 5517, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'z', 4391, 'Z', 3229, 'f', 'z', 6131, 'm', 'U', 5825], [6363, 6625, 'f', 7841, 'J', 'j', 993, 'p', 'f', 'X', 'j', 361, 4325, 'a', 649, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'G', 6719, 2367, 9155, 'B', 7493, 9415, 'j', 'k', 'j', 'v', 'k', 'Z', 9021, 'f', 'x', 3213, 'p', 3453, 'w']

A: 3007, 1737, F, a, 4559, 3987, 6211, v, 5531, 9565, 1705, 7747, 8567, 5965, 4195, p, 2775, g, K, n, B, U, T, 8995, c, 2831, n, Q, l, 6749
****
Q: [641, 'p', '2377', '4521', '7671', 'g', '1955', 'S', 'D'], [1903, 7973, 6901, 8569, 1675, '2377', '4521', '7671', 'g', '1955', 'M', 'M', 'c']

A:
2377, 4521, 7671, g, 1955
****
