In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 8573, 3567, 2157, 7969, 6099, 'M', 8939, 'j', '521', '6399', 'L', '8213', '395', '2415', 'q', 'B', 'x', '7509', 'q', 'p', 'r', 'y', 'l', 4149], ['h', 'i', 'F', 'p', 'y', 7343, 'd', 'y', 'I', '521', '6399', 'L', '8213', '395', '2415', 'q', 'B', 'x', '7509', 'q', 'p', 'r', 'j', 'K', 1363, 847, 'j']