In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4641, 'u', 'w', 'Y', 3549, '4521', 'I', 'K', 'a', 'r', '6677', 'a', '2709', '663', '907', 'f', 'd', 655], ['Y', 'W', 'o', 'O', 'A', 4771, 2667, '4521', 'I', 'K', 'a', 'r', '6677', 'a', '2709', '663', '907', 'f', 'z', 'D', 'j', 3727, 6551, 9431, 7379, 765, 'm', 9703]