In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 'X', 5997, 8825, 'f', 'e', 'A', '6331', '2269', '2861', '1575', '3087', '2783', 'b', 'E', '7337', 'H', 'h', 'J', 4703, 'O', 'I', 2471, 'N', 'b'], ['r', 405, 1135, 3279, 3359, 3157, 6273, '6331', '2269', '2861', '1575', '3087', '2783', 'b', 'E', '7337', 'H', 'o', 'T', 3359, 'P', 5567, 7903, 'h', 7709]