In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['C', 7471, 'Y', 'W', 'N', '8025', 'J', '8645', 'i', 9879], ['f', 8045, 'n', 'Y', 'W', 'N', '8025', 'J', '8645', 'Z', 'X', 8649]