In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3147, 4817, 'a', 'A', 3385, 5827, '2661', '6521', '1233', '4965', '9577', 'f', '889', 'H', 'E', '1849', 'T', 'r', '2517', 'F', '1807', 'w', 'T', '8217', 'I', 'F', 'c', 5967, 85], [7039, 'N', 'X', 'm', 3967, '2661', '6521', '1233', '4965', '9577', 'f', '889', 'H', 'E', '1849', 'T', 'r', '2517', 'F', '1807', 'w', 'T', '8217', 'I', 'b', 'K', 'Q', 'N', 2691, 'V', 4629, 'V', 2601]