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

[EX Q]: ['K', 9673, 1909, 4297, 4479, 6817, 4899, 'C', 6959, 'V', '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'a', 'M', 'n', 6241, 'm'], ['x', 2703, 'G', 'g', 6139, 369, 'M', 2263, 1539, 8497, '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'X', 171, 2305, 2887, 'x', 'M', 557, 9003, 'H', 'V', 'B', 7409]
[EX A]: 9807, 5503, 4787, 8401, 1975, c, 3357, O, 2117, V, W, 223, n, 7837, J, 7137, 4965, O, 9937

[EX Q]: [6017, 2811, '8157', '9625', 'P', 3629], [7857, 1357, '8157', '9625', 'z', 'z']
[EX A]: 8157, 9625

[EX Q]: ['x', 475, 6537, 'Z', '9531', '3957', 'b', 'k', 'D', 'a', 5213], ['R', 2807, 'O', 'Z', '9531', '3957', 'b', 'v', 'I', 'y', 'Z']
[EX A]:
Z, 9531, 3957, b