In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 1357, 'i', 9843, 'm', 'c', 's', 'F', '353', 'J', 'x', 'J', 6979, 'a'], ['W', 7157, 'm', 'c', 's', 'F', '353', 'J', 'x', 'I', 'a']