In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['j', 9375, 6569, 'J', 'F', '1379', 'o', '9219', 'c', '7077', 'w', '1301', '3987', 'P', 'W', 5573, 'I'], ['y', 8457, 'H', 2267, '1379', 'o', '9219', 'c', '7077', 'w', '1301', '3987', 'P', 'D', 'z', 'X', 'M', 'X', 'z', 139]