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

['U', 6489, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'I', 'B', 'R', 'N', 9533, 'd'], ['U', 4287, 'f', 'R', 1407, 3893, 6739, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'Z', 2981, 'i', 'a', 'k', 5909, 'S', 9997]
o, e, Z, G, 8175, r, 1915, 8587, 8845

['D', 'B', 6407, 'L', 'P', 'B', '4529', 'r', 's', 7599, 373], ['f', 'E', 'L', 'P', 'B', '4529', 't', 3723]
L, P, B, 4529

[7027, 'm', 329, '8507', '3149', '7237', 'M', 'h', 'h', 'K'], [4557, 6039, 'U', 641, 'e', '8507', '3149', '7237', 'M', 'h', 'g', 'Z', 'c']

8507, 3149, 7237, M, h

