In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 'K', 9155, 9267, 'W', 9825, 619, 'M', '7707', '4307', 'U', 'U', 'H', 't', '3187', 'v', 'l', 1283], [865, 5077, 5185, 1075, 'U', 231, 'p', 'f', '7707', '4307', 'U', 'U', 'H', 't', '3187', 'v', 'm', 1387, 4167, 5221, 6183]