In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 'E', 'Y', 5659, '2429', '2407', 'D', '6767', 'A', 'o', 1517, 'O', 8821], [2443, 1627, 'U', 'K', 'D', '2429', '2407', 'D', '6767', 'A', 'W', 891, 5431, 'L']