In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 'a', 5141, '8665', '2641', 'a', 'm', '1027', 'W', '9749', '829', 'E', 'Y', '2089', '8511', 'u', 'n', 'X', 2629, 'Y', 'P', 'N', 1179, 'a', 4729, 'h', 'O', 9133], ['b', 'D', 'S', 'I', 'w', 'v', 2725, 351, 'Z', '8665', '2641', 'a', 'm', '1027', 'W', '9749', '829', 'E', 'Y', '2089', '8511', 'u', 'J', 'F', 'b', 2643]