In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 6409, 1309, 7963, 3223, 'x', 'U', 7161, 'z', 'x', 5939, 'P', 'A', 'M', 'A', 2337, 287, 'e', 'v', 'S', 9835, 2093, '8037', 'E', 'G', '2581', '9761', '2795', 'V', 'O', 'Z', 'v', '5049', '3873', '2975', 'L', '3799', '2741', 'S', 'U', '5345', '7369', 'd', '1405', 't', 'Z', '4413', 'Y', 'F'], [10001, 'y', 179, 6743, 'Q', 'y', 'n', 'U', 8045, 'Y', 1525, 4689, 427, 3367, 'y', 'C', 'I', 'N', 4305, 'q', 'D', '8037', 'E', 'G', '2581', '9761', '2795', 'V', 'O', 'Z', 'v', '5049', '3873', '2975', 'L', '3799', '2741', 'S', 'U', '5345', '7369', 'd', '1405', 't', 'Z', '4413', 'C', 8427, 'U', 3177, 2361, 8791, 'Y', 'N', 'W']