In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9025, 6449, '2259', '4299', '223', '3857', 'S', '8343', 'y', 'J', '9741', '4803', 'L', '8649', 'i', 'F', 'j', 'L', 2875, 2265, 'R', 'h', 4141, 'Z', 'Z', 'M'], ['R', 4401, 5311, 'N', 'E', 9821, '2259', '4299', '223', '3857', 'S', '8343', 'y', 'J', '9741', '4803', 'L', '8649', 'j', 8249, 8415]