In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[825, 8147, 'f', 'N', 5075, 3425, 'D', 1107, 2951, 'W', 'c', '1185', 'L', '1873', '6239', '8907', 'F', '1143', '497', '8297', 'W', '4605', '9285', 'Q', 'R', '8453', 'F', 'L', 'd', 1963, 'e', 'u', 'X', 'P'], ['c', 5957, 'x', 717, 'W', 'c', '1185', 'L', '1873', '6239', '8907', 'F', '1143', '497', '8297', 'W', '4605', '9285', 'Q', 'R', '8453', 'p', 2557, 6093, 'J', 'j', 8541, 8895, 'L', 'V', 1515, 'S', 9441, 6785, 'I']