In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9259, 4611, 'P', '167', '5655', '7537', '1201', 'A', '3743', 'Z', 'M', '5417', 'e', 'R', 'c', 's', 6855, 9855], ['o', 5801, 'c', 'P', '167', '5655', '7537', '1201', 'A', '3743', 'Z', 'M', '5417', 'l', 4035, 6643, 7257, 6231, 'g', 'C']