In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6487, 'B', 'I', 'N', 'p', 'p', 6069, 2951, 'd', 'n', 'm', 9363, '8949', 'F', '105', 'd', 'W', '7263', '4025', 'z', '9815', '6739', '9233', '491', '2693', 'd', 'i', 4593, 'B', 8301, 'z', 'Y', 's', 'E', 'X', 'F', 'e', 'n'], [8237, 'a', 9883, 'u', 'Y', 2703, 6965, 'q', 5395, 8871, 2069, 'L', 8491, 'v', '8949', 'F', '105', 'd', 'W', '7263', '4025', 'z', '9815', '6739', '9233', '491', '2693', 'd', 'D', 6599]