In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['s', 1831, 3659, 885, 3421, 'S', 9363, 'p', 'Q', 1071, 7201, 6077, 6535, 'o', 3137, 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'I', 'G', 9115, 'S', 5257, 'X', 3061, 1941, 1875, 5597, 2759, 8795, 6655, 5867, 'M', 6725, 5417, 2145, 'a', 1387, 'h'], [1397, 'J', 'g', 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'R', 1233, 'J', 'M', 8625, 't', 'S', 4605, 5553, 'm', 5307, 'V', 4147]