In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3877, 1297, 'C', 'm', 7909, 8079, 9957, 'I', '3175', '5947', '3167', 'h', '8991', '3767', '7655', '5885', 'k', 'j', 'm', 'd', 'U', 'Q', 'k', '7127', 'g', '9583', 'n', '3735', 'G', '5065', '2201', '8895', 'd', 's', 8937, 4361, 9845, 'R', 6825, 'U', 3795, 'y', 'I', 's', 'v', 'D', 7579, 'X', 4251, 'B', 'b', 'i', 3331, 'P', 't', 'M', 5171], [2949, 'T', 1795, 'p', 'g', 'n', 9957, 6279, 8565, 3755, 'g', 2455, 'W', 3797, 'z', 'w', 'j', 1119, 9853, 'y', 'M', 2677, 'I', '3175', '5947', '3167', 'h', '8991', '3767', '7655', '5885', 'k', 'j', 'm', 'd', 'U', 'Q', 'k', '7127', 'g', '9583', 'n', '3735', 'G', '5065', '2201', '8895', 'd', 'M', 119, 2259, 6887, 3511, 8881, 3143, 5993, 9741, 'r', 'z', 'V', 6641, 2765, 5805, 5531, 5803, 'e', 3051, 'Z', 281, 8633, 'g']