In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['k', 2339, 'W', 'L', '4579', 'o', 't', '547', '9657', 'v', 'N', '8897', '5509', 'd', '1459', '1841', 'h', 877, 6079, 'Z', 'J', 9849, 39, 4085, 'm', 4147], ['w', 'Q', 's', 'T', 'E', 'w', 'h', 1693, 8485, 6755, 'm', 'd', 'L', '4579', 'o', 't', '547', '9657', 'v', 'N', '8897', '5509', 'd', '1459', '1841', 'S', 6131, 3199, 'l']