In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1735, 4327, 4781, 'I', 'M', 'D', 1361, 7055, 'c', 6671, 3177, 'g', 2737, 's', '5769', '8587', '743', 'j', 'i', '8553', 'K', '5597', '6447', 'T', 'e', 'V', 't', 's', 'w', 'w', 'N', 3681, 'p', 'm', 'E', 'G', 'Y', 475, 'M', 'N', 5565], ['Y', 8703, 767, 'L', 2553, 9525, 'n', 8201, 7029, 715, 'U', 's', '5769', '8587', '743', 'j', 'i', '8553', 'K', '5597', '6447', 'T', 'e', 'V', 't', 'K', 'P', 'd', 'N', 9759, 4123, 3505, 5595, 'r', 'g', 'X', 873, 10025]