In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2787, 1727, 9349, 1573, 5631, '3055', '3373', '2623', 'm', '1207', '2753', 'J', 'm', '6683', 'g', 'L', '6731', '9143', '4283', 'R', 'x', '6147', 'D', 'y', 'j', 'm', 5807, 9563, 'm', 111, 'N', 'k', 6345, 4583, 6263, 793, 'g', 2639, 'u', 3399, 'b', 'a', 'j'], [777, 'Q', 's', 'q', 2035, 'B', 'A', 1199, 'p', 'o', 2037, 7087, 'p', 's', 'o', 6883, 'c', 2091, '3055', '3373', '2623', 'm', '1207', '2753', 'J', 'm', '6683', 'g', 'L', '6731', '9143', '4283', 'R', 'x', '6147', 'D', 'y', 'm', 'M', 'I', 'A', 2657, 3505, 'E', 9831, 'F']