In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 7107, 8013, 'f', 'o', 'c', 8557, '6105', '387', '9019', 'm', '4315', '8393', '3291', '81', 'N', '9747', 'f', 7079, 1811, 2361, 'D'], [5713, 'G', '6105', '387', '9019', 'm', '4315', '8393', '3291', '81', 'N', '9747', 'J', 311, 'F', 'm', 'O']