In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 2641, 1775, '9111', 'B', '3987', '6135', '9683', 'K', '2513', 'z', '4905', 'f', '8597', 'S', '3697', '6555', 'O', 'T', 'T', 4261, 'H', 'A', 'S'], ['d', 9621, 7979, 'b', 'O', 'w', 9917, 'd', 113, 3257, 'D', 4653, 'F', 'f', 2587, '9111', 'B', '3987', '6135', '9683', 'K', '2513', 'z', '4905', 'f', '8597', 'S', '3697', '6555', 'O', 'k', 'l', 'j', 7029, 'Y', 2149, 'N', 'u', 'T', 'd', 'd', 'C']