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]: ['u', 'U', 'a', 'Z', 'b', 'Q', 'D', 5239, 6595, 1793, 'f', '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'm', 867, 585, 1765], [5201, 'W', 'a', 'k', 9031, 4815, '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'X', 2991, 3377, 2933, 5359, 6073, 8921, 789, 'W', 7037, 9953, 'N', 8007, 1755, 1959, 9619]
[EX A]: 7733, 5727, 3047, 4951, 8907, D, 5105, i, 1837, i, Y, b, 5769, p, 1767, Y, B, q, 4075, 917, c

[EX Q]: ['f', 'l', 'r', 'V', 6119, 'S', 1655, 361, 'J', 'M', 'g', 6701, 'T', 't', 'F', 'd', 7695, 'U', 9955, '5319', '4029', '6467', '9849', 'Q', 'u', 'j', 'u', 's', 'e', 'g', 'z', '9949', 'm', '7023', '621', '1497', '2365', '6301', '6653', 'C', 'T', 'j', 'B', 'q', 'm', 't', '4641', 'P', 5007, 649, 'C', 'h', 2619, 'Q', 't', 7887, 'e', 'D', 'X', 'y', 2367, 671, 2877, 'M', 6001, 'I', 'H', 'y'], [3737, 2977, 8489, 8953, 'M', 3411, '5319', '4029', '6467', '9849', 'Q', 'u', 'j', 'u', 's', 'e', 'g', 'z', '9949', 'm', '7023', '621', '1497', '2365', '6301', '6653', 'C', 'T', 'j', 'B', 'q', 'm', 't', '4641', 'R', 7265, 'Y', 'B', 1041, 3915, 2233, 2711, 't', 'F', 4271]
[EX A]:
5319, 4029, 6467, 9849, Q, u, j, u, s, e, g, z, 9949, m, 7023, 621, 1497, 2365, 6301, 6653, C, T, j, B, q, m, t, 4641