In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 'S', 'o', 6215, 'p', 1121, 'H', 'X', 'q', '8529', 'u', 'U', 'P', '6229', 't', '95', '9289', '6875', 'A', 'I', 'l', 'j'], [9135, 8051, 'p', 'k', 'r', '8529', 'u', 'U', 'P', '6229', 't', '95', '9289', '6875', 'S', 6509, 3839, 'o', 'q', 'T', 'z']