In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['K', 'x', 'D', 'V', 'F', 5683, 5695, 5775, 'U', 1093, 7421, 'o', 497, 1863, 8951, 't', '4967', 'K', '2597', 'q', 'r', '4527', 'm', '2399', '4601', '1471', 'p', 'M', 'Y', '8891', '4403', '4329', '8247', 'K', 'k', 'A', 'B', '5091', 'Y', '1029', '7499', 'E', 4855, 'P', 'a', 'c', 6783, 'D', 'r'], ['D', 5379, 8293, 'c', 2197, 1371, 'c', 'B', 4913, 4485, 't', 't', '4967', 'K', '2597', 'q', 'r', '4527', 'm', '2399', '4601', '1471', 'p', 'M', 'Y', '8891', '4403', '4329', '8247', 'K', 'k', 'A', 'B', '5091', 'Y', '1029', '7499', 'T', 'n', 4987, 7153, 'T', 'W']