In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8963, 7739, 'J', 4285, 'B', 'z', 1769, 4975, 'W', 'L', 'P', '3649', '9401', 'M', 'N', '2427', '2075', '8609', '9699', '9147', 'o', 'B', 'f', 4627, 8859], [1189, 'w', 4909, 9203, 3399, 'x', 2887, 'P', '3649', '9401', 'M', 'N', '2427', '2075', '8609', '9699', '9147', 'a', 9981, 6093, 2073, 'U']