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

[EX Q]: ['L', 'B', 'j', 5005, 1135, 6853, '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'i', 9785, 't', 'G', 'r', 'w', 'B', 3093], ['z', 'm', 'J', '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'D', 5163, 4649, 6219, 3227, 6101, 'y', 'K', 'W', 2233, 'n']
[EX A]: 395, 4543, 2301, B, 9275, 7891, 9083, 5417, 7543, 8291, 2655, m, g, 7981, 5703, 1179

[EX Q]: ['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]
[EX A]: 1331, 7235, 8333, a, 4137, b, 9779

[EX Q]: ['X', 6589, '4735', 'd', 'K', 'm', 'j', 'J', 'B', 'S', '5781', 'd', 'E', '167', 'q', '7469', 'H', 'n', 5953, 181, 'f', 6475, 5639, 'A', 2217], ['f', 'C', 1677, 4889, 3261, 6301, 'u', 'y', 3027, 2029, 'R', 7445, '4735', 'd', 'K', 'm', 'j', 'J', 'B', 'S', '5781', 'd', 'E', '167', 'q', '7469', 'H', 'b', 'X', 5213, 'S', 'z', 9965]
[EX A]:
4735, d, K, m, j, J, B, S, 5781, d, E, 167, q, 7469, H