In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 'i', 5511, 5493, 1025, 'g', 'U', 'U', 'r', 8995, 'E', 765, 'i', 3067, 525, 6321, '4817', 'a', 'W', '5139', 'd', 'J', 'A', '1433', '7597', '551', '3817', 'Q', '2475', '4715', '6929', 's', '1845', '4613', '1091', 'Q', 'M', 'n', 'D', 'S', 'w', 'K', 2907, 'm', 109, 6195, 4729, 1471, 2607], [7639, 'd', 1137, 6551, 3689, 4361, 8427, 9053, 'P', 4153, 'z', 5017, 2709, 'M', '4817', 'a', 'W', '5139', 'd', 'J', 'A', '1433', '7597', '551', '3817', 'Q', '2475', '4715', '6929', 's', '1845', '4613', '1091', 'Q', 'M', 'n', 'D', 'S', 'S', 'k', 'j', 8769, 59, 5703, 3349]