In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3469, 7065, 'D', '9969', '8471', '2621', 'F', 4545, 'N'], [5223, 3997, '9969', '8471', '2621', 's', 6547]