In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 2315, '7869', '1161', '9663', '6989', '7485', '3521', 'E', 'c', '7633', '1689', '7209', '2159', 'J', 'D', '9747', 'U', '7071', 'j', 4437, 'B', 1111, 4629, 'I'], [547, 4435, 'x', 'A', 6187, 'D', 's', 1815, 4825, 'f', 'O', 'x', 'S', 9079, 6169, 'L', 'i', '7869', '1161', '9663', '6989', '7485', '3521', 'E', 'c', '7633', '1689', '7209', '2159', 'J', 'D', '9747', 'U', '7071', 'Q', 8139, 'z', 'T']