In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 'C', 'N', 3161, 6379, 'B', 'c', 'a', 'R', 'F', 'Q', 'v', 'n', 'o', 'I', 't', '3593', '2159', '1247', 'K', 'J', 'Q', 'a', 'I', 'J', 'P', 'U', 7149], ['E', 5391, 2655, 5027, 'd', 7111, 't', 't', 589, 'F', 1123, 'B', 'c', 'a', 'R', 'F', 'Q', 'v', 'n', 'o', 'I', 't', '3593', '2159', '1247', 'K', 'J', 'h', 3075]