In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['V', 9919, 4993, 'e', 'E', '4071', 'z', 'k', 'q', '1139', '8367', 'o', 1325, 951, 5443, 'm', 'd', 'M', 3557], [397, 4777, 5349, 'e', 'E', '4071', 'z', 'k', 'q', '1139', '8367', 'Y', 's', 8019, 'i', 463, 'R']