In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2873, 2971, 3015, 3579, 779, 5021, 'D', 'w', 'E', 'p', 7407, 8619, 'B', 'k', 'g', 'p', 'U', 'C', 4925, 'h', 6447, 1403, '913', '2169', 'e', 'i', '3747', 'N', '2593', 'L', '5403', '4729', '7379', '8667', 'a', 'm', 'n', '3155', 'Y', '8677', '595', 'p', '4143', '385', '217', '3955', '10009', '9115', 'f', 959, 2791, 'F', 9829, 'W', 'j', 6789, 'j', 3953, 'h', 2149], ['j', 'U', '913', '2169', 'e', 'i', '3747', 'N', '2593', 'L', '5403', '4729', '7379', '8667', 'a', 'm', 'n', '3155', 'Y', '8677', '595', 'p', '4143', '385', '217', '3955', '10009', '9115', 'e', 8683, 2393, 373, 'H', 'F', 9921, 1703, 'A', 5555, 'f', 3343, 'F', 4517, 561, 'N', 'b', 9273, 5947, 1803, 'K', 4783, 'K', 'j', 'K', 'P']