In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 'A', 'G', 'f', '5417', 'U', 'L', 'i', 'P', '611', 'o', 'C', 'a', 'T', 4295, 2171, 'K', 'a'], ['j', 5957, 'n', 'p', 'o', 5641, 'V', 8077, 'D', 'f', '5417', 'U', 'L', 'i', 'P', '611', 'o', 'C', 'l', 6761, 'e', 8537]