In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 2353, 'p', 'e', '4821', '3777', 'o', 'e', 6497], ['T', 'c', 2095, 'p', 'e', '4821', '3777', 'o', 'D', 227]