In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['E', 'L', 'J', 'A', 6727, 'W', 1537, 'v', 'n', 'h', 'R', 'N', 'l', 3687, '5859', 'v', 'x', '8857', '4063', 'h', 'A', '67', 'c', 'y', '6597', 'z', 'U', 'v', '2695', '6023', '4119', 'u', '6987', '7849', 'E', 'D', 'p'], [3651, 9077, 4405, 'W', 5495, 3167, 1983, 4309, 8487, '5859', 'v', 'x', '8857', '4063', 'h', 'A', '67', 'c', 'y', '6597', 'z', 'U', 'v', '2695', '6023', '4119', 'u', '6987', '7849', 'N', 'q', 'O', 2845, 7751, 2393, 8401, 3501, 6859]