In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['c', 5409, '2187', '2075', '195', 'Z', '9249', 'O', 'W', 'd'], ['i', 'J', 'c', '2187', '2075', '195', 'Z', '9249', 'm', 8403]