In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 9541, 'B', 'g', 5129, 'P', 'n', 6079, 'p', 'k', 1623, 'M', 7951, 'A', '3573', '5811', 'S', '3927', '3439', '7237', 'J', 'K', 'S', 'D', 's', '1089', 'm', 'K', '8503', 's', 'c'], [8893, 'N', 'R', 'R', 5219, 4495, 'k', 8445, 'f', 'Z', '3573', '5811', 'S', '3927', '3439', '7237', 'J', 'K', 'S', 'D', 's', '1089', 'm', 'K', '8503', 'Q', 'I', 'K', 1209, 9553, 'n', 'I', 7871, 'j', 6335]