In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['l', 'K', 'm', 4045, '1379', 't', 'C', 'r', 'G', 't', 'X', 'd', 3185, 'e', 'a', 'h', 'c'], [8491, 'y', '1379', 't', 'C', 'r', 'G', 't', 'X', 'Q', 1089]