In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5855, 'R', 'o', 'A', 7497, 't', 'G', '4885', '761', 'X', 'w', 'z', 'N', 727, 'P', 7535, 8373, 6263, 4567], ['h', 'j', 'r', 1491, 2439, 't', 'G', '4885', '761', 'X', 'w', 'z', 'A', 'O']