In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 'M', 2811, 4391, 5929, 6659, 2815, 1711, 't', 3617, 'i', 'i', 'O', 'A', 'K', 'Z', 9505, 5241, 'q', 'q', 'a', 'x', 'm', 'C', 'i', 'P', 'A', 'y', '5365', '2581', 'a', 'p', 'j', '5321', 'G', 'N', '2337', '3745', 'y', 8131, 1191], [6137, 2433, 'S', 'q', 'a', 'x', 'm', 'C', 'i', 'P', 'A', 'y', '5365', '2581', 'a', 'p', 'j', '5321', 'G', 'N', '2337', '3745', 'S', 1747, 1045, 2451, 5141, 3285, 'I', 'z', 4221, 1417, 'K', 'Z', 7565, 1423, 9271]