In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6901, 2763, 'e', 1951, 6565, 'E', '9651', 'o', '5743', '1625', 'M', 'M', '2349', '3695', '3817', 'S', 'X', 'V', 'j', 5215, 'x', 413, 7545, 'B'], [847, 9395, 8325, 7449, 1923, 2365, 'g', 2131, '9651', 'o', '5743', '1625', 'M', 'M', '2349', '3695', '3817', 'S', 'X', 'O', 9359, 3235, 1187]