In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5707, 'j', 'M', 6915, 1365, 'J', 'z', 'U', '8861', '7333', '7267', 'X', '6431', '2661', 'R', '4203', '5763', '5673', 'q', 'I', 'C', 'K', 'f', 'B', 'b', 'i', 2445], [4025, 'w', 'w', 6639, 549, 'z', 'U', '8861', '7333', '7267', 'X', '6431', '2661', 'R', '4203', '5763', '5673', 'q', 'I', 'n', 'U', 'Y', 4657, 'h', 'b', 'g', 'l', 'm', 955, 'T']