In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3517, 9617, 'P', 4849, 6123, 'E', 7353, 7189, 'Y', 6245, 'c', 'G', '7629', '1499', 'q', '407', 'F', '3139', 'c', '4587', '8143', '6103', '2055', '5409', 'd', '7883', 't', 'y', 'W', 'E', '1941', 'n', '6825', '9925', 'e', 'W', 'u', '325', '87', 'V', 'C', 'l', 't', 3525, 5531, 5773], [4991, 39, 'F', 3179, 1071, 1341, 5593, 'x', 3947, 6569, 7323, 'r', 539, 13, 1797, 'P', 'B', 5179, 1983, 507, 1215, 8293, 'E', 'o', 6391, 'c', 'G', '7629', '1499', 'q', '407', 'F', '3139', 'c', '4587', '8143', '6103', '2055', '5409', 'd', '7883', 't', 'y', 'W', 'E', '1941', 'n', '6825', '9925', 'e', 'W', 'u', '325', '87', 'Q', 'a', 'h', 'n', 'E', 7149, 2699, 5423, 3, 10019, 2659, 6417, 8005, 'U', 'z', 3355, 'w', 3351, 7953, 'D', 'R', 7765]