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

[EX Q]: ['b', 'Z', 'n', 'O', 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'k', 833, 9001], [6221, 'H', 'w', 6543, 'o', 1523, 'W', 6091, 'T', 7021, 8161, 1111, 4653, 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'j', 5791, 3573, 9639, 'a', 4089, 5045, 'e', 'i', 'S', 3157, 1767, 2199, 'P']
[EX A]: x, K, J, 5997, 8241, O, 9965, n, 6043, p, 8943, F, O, 2181

[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]: [173, 'F', 77, 5101, 'q', 2897, 'Z', 231, 1895, 825, 'G', 5949, 6105, 'a', '5883', 'x', '801', '9201', 'r', 'd', 'L', '91', '6609', 'o', '2703', '997', '963', 'n', 'j', 'o', '4893', '1663', 'A', '5111', '467', '229', '4607', 'q', 'l', 'g', 'M', 6661, 4605, 8015, 'r', 2129, 'M', 3811, 1407, 145, 'v'], ['P', 7703, 'e', 'b', 'l', 9851, 6913, 4087, 4627, 9835, 19, 1305, 'O', 'P', 1139, 6089, 9143, 'W', 9853, 'x', 3215, 'w', 'a', '5883', 'x', '801', '9201', 'r', 'd', 'L', '91', '6609', 'o', '2703', '997', '963', 'n', 'j', 'o', '4893', '1663', 'A', '5111', '467', '229', '4607', 'q', 'r', 3927, 9607, 4893, 4563, 8113, 4073, 1153, 8609, 'X', 't', 4023, 'Q', 3131, 'z', 3789, 349, 'J', 9845]
[EX A]:
a, 5883, x, 801, 9201, r, d, L, 91, 6609, o, 2703, 997, 963, n, j, o, 4893, 1663, A, 5111, 467, 229, 4607, q