In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 'z', 'K', '3337', 's', 'l', '5159', 'y', '3669', 'y', 8179, 3159, 'E', 6561, 8971], [6973, 'w', 3909, '3337', 's', 'l', '5159', 'y', '3669', 'Q', 'J', 7477]