In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['s', 'w', 'E', 8165, 'L', 2123, 'x', '2691', 'z', 'J', 'H', 'o', 'B', 'O', '1807', '5925', '1469', 'L', 'R', 7879, 8949, 7479, 'B', 6959, 5421, 9087], [8127, 8253, 'E', 'T', 'r', 2903, 'n', 'd', 533, 3507, 'q', 'x', '2691', 'z', 'J', 'H', 'o', 'B', 'O', '1807', '5925', '1469', 'L', 'w', 'Q', 'j', 2395, 'L']