In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['c', 'G', 8225, 6329, '6291', '5279', 'n', 'A', 'J', 'n', 5221, 'r', 't'], ['k', 'M', 'Z', 'B', 4003, '6291', '5279', 'n', 'A', 'J', 'g', 'm']
6291, 5279, n, A, J