In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 'N', 9549, 'c', 'q', 5965, 4879, '4651', '8951', 'g', 'H', '3527', '8369', 'E', '5821', 'i', 'r', 'N', 3803, 2437, 'o', 4919, 529, 3951], [7925, 4223, 4865, 'X', 7705, 'T', '4651', '8951', 'g', 'H', '3527', '8369', 'E', '5821', 'i', 'r', 'I', 'O', 'E', 'P']