In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2863, 8725, 6795, '3287', '5287', '8129', 'I', 'O', 'l', 'K', 7707, 7945, 'K'], ['c', 'F', 7391, 4803, '3287', '5287', '8129', 'I', 'O', 'l', 'm', 8817, 'o', 'P']