In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9057, 'v', 7799, 'a', '2781', '4165', '4759', '3349', '7859', '7593', '5485', '6541', '639', 'P', 5557, 6415, 8905, 'm', 'n', 3643, 'q'], [7437, 'n', 'C', 35, 'j', 5981, 4065, 'a', '2781', '4165', '4759', '3349', '7859', '7593', '5485', '6541', '639', 'w', 3405]