In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 'a', 'k', 'Z', 'U', 5847, 7237, 'C', 'Z', '4677', '9481', '1211', 'Y', '4379', 'K', '2115', '4755', '1873', '9139', '1069', 'S', 't', 741, 903, 'm', 9607], [2979, 'o', 'd', 1269, 'u', 'J', 2081, 3187, 'h', 6905, 4839, 'C', 'Z', '4677', '9481', '1211', 'Y', '4379', 'K', '2115', '4755', '1873', '9139', '1069', 'S', 'F', 'H', 'B', 'Q', 8115, 'x', 'F', 'w', 9341, 'r']