In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5067, 'Y', 1103, '4243', 'Q', '4771', '2647', '8275', 'v', '3985', 'W', 'w', '769', 'u', 'S', '4015', 'G', 'l', '2953', 'N', 'N', 'c', '8847', 'I', 'e', 'I', 'M', 8581, 4833, 9771, 'o', 'a', 441, 1359, 'd', 6285, 7265, 6221, 3775, 3717], [4463, 'M', '4243', 'Q', '4771', '2647', '8275', 'v', '3985', 'W', 'w', '769', 'u', 'S', '4015', 'G', 'l', '2953', 'N', 'N', 'c', '8847', 'I', 'H', 1439, 7797, 'N', 1575, 1337, 195, 'g', 'y', 'r', 'p', 'D', 4067, 9179, 9727, 'B', 947, 2697, 3345, 3543]