In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 1877, 9023, 2669, 9011, 9097, 'Y', 167, 4649, 5213, 1877, 'P', 'e', '587', '9709', '5407', '1011', 'F', '6097', '4751', 'd', 'N', 'L', 'I', 'q', 'B', 'L', 'u', 'D', 'c', 'y', 'b', 'R', 'T', 'L', 'K', '3165', '2715', 'z', '1009', 'p', 'i', 'E', 'd', 6087, 'S', 'X', 9199, 79, 8049, 8737, 'j', 3323, 1235], ['k', 2415, 'K', 4107, 's', 521, 8289, 5167, 7107, '587', '9709', '5407', '1011', 'F', '6097', '4751', 'd', 'N', 'L', 'I', 'q', 'B', 'L', 'u', 'D', 'c', 'y', 'b', 'R', 'T', 'L', 'K', '3165', '2715', 'z', '1009', 'S', 'D', 'p', 663, 4889, 1547, 'Z', 'P', 'M', 9493]