In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1253, 9565, 6347, 7681, 'l', 'O', 'X', '9293', 'h', 'h', 5927, 'U'], ['c', 2413, 'l', 'O', 'X', '9293', 'v', 'M']