In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3421, 4983, 3679, '7795', 'j', '9541', 'B', '3897', 'f', 'c', 6787], [6245, 7133, 'i', 'o', '7795', 'j', '9541', 'B', '3897', 'o', 5479]