In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8437, 9647, 'R', 9697, 'q', 'Z', 1243, 7643, 'X', 2649, 6145, '5465', 'm', 't', 'm', 'B', '6097', '4547', '2245', 's', '805', '10001', '6765', '4757', 's', 'l', '6887', 'b', 'F', 'G', '2609', '2127', 'k', 'C', 6311, 267, 'z', 5765, 'M', 'g', 4715, 2769, 'q', 'o', 'F', 'b', 'J', 5837, 'S', 5791, 8299], ['J', 'g', 7863, 8383, 607, 'L', 1025, 7149, 'm', 4985, 'r', '5465', 'm', 't', 'm', 'B', '6097', '4547', '2245', 's', '805', '10001', '6765', '4757', 's', 'l', '6887', 'b', 'F', 'G', '2609', '2127', 'B', 9877, 'K', 'R', 3373, 'u', 'V', 'T', 3323]