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

[EX Q]: [4837, 'e', 'd', 3717, 3245, 'j', 'A', '5181', 'i', 'X', 'h', 'J', 'h', 'S', 801, 5829, 3309], ['K', 'j', 'L', 'N', 4449, 5349, 'A', '5181', 'i', 'X', 'h', 'J', 'c', 7035, 533, 5903, 'n', 'e']
[EX A]: A, 5181, i, X, h, J

[EX Q]: [7377, 1987, 'N', 'p', 't', '2929', '9983', '7321', '9193', 'B', 'V', '1733', 'o', 'T', 8071, 9433, 'n', 'U'], ['q', 'g', 5683, 6497, 'q', 7587, 'u', 8819, 'T', 'c', 'N', 'p', 't', '2929', '9983', '7321', '9193', 'B', 'V', '1733', 'Q', 7419, 'W', 'p', 2765, 5831]
[EX A]: N, p, t, 2929, 9983, 7321, 9193, B, V, 1733

[EX Q]: [7703, 6217, 'O', '6147', '3283', 'x', '4941', 'U', 'w', 9083, 't'], ['L', 3775, '6147', '3283', 'x', '4941', 'R', 'o']
[EX A]:
6147, 3283, x, 4941