In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4491, 5591, 5057, 4209, '3371', 'Q', '3985', 'M', '2291', '5483', '8589', '2965', '4159', '3175', 'T', 'k', 'm', 'd', 'P', 1809, 8879], [1705, 8845, 's', 5159, 1147, 8637, '3371', 'Q', '3985', 'M', '2291', '5483', '8589', '2965', '4159', '3175', 'T', 'k', 'O', 'd', 'R', 3951]