In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5535, 2945, 'v', 't', 'C', '5237', 'H', 'l', 'K', 'p'], ['z', 1893, 'l', 'C', '5237', 'H', 'l', 'X', 'G']