In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 8857, 'N', 'e', '2335', '2241', '7197', 'z', 'F', 'V', 7469], ['P', 'l', 51, 'm', 'e', '2335', '2241', '7197', 'V', 3855, 1713]