In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1401, 3529, 2723, 'y', 3275, 3339, 'M', 'P', 2143, 'F', 'c', 295, '795', '3059', '8735', '7397', 'J', '5583', '2265', 'n', 'j', '3013', 'u', '8877', 'l', 'W', 'q', 'D', 9413, 'I', 'z', 'i', 'w'], ['C', 'Z', 8297, 3311, 'B', 7259, 1059, 'L', 1161, 'H', 351, '795', '3059', '8735', '7397', 'J', '5583', '2265', 'n', 'j', '3013', 'u', '8877', 'l', 'W', 'j', 2027, 'q']