In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 9765, 'k', 'G', 'k', 9655, 4653, 'S', 911, 'M', '2129', 'c', 'g', '4829', '7939', '4317', '4747', '1999', '4821', 'R', 'd', 3201, 'k', 633, 'd'], ['Q', 'Q', 6061, 'M', '2129', 'c', 'g', '4829', '7939', '4317', '4747', '1999', '4821', 'k', 7013, 'I', 4151, 'Q', 'i']