In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7207, 6181, 887, 'g', 6829, 'w', 1539, 2999, 6991, '4627', 'D', '5895', '503', '7445', 'N', 'J', '3217', 'E', 'T', '6463', '631', '1533', '1067', 'C', 'I', '9769', 'J', 5087], ['c', 9947, 'f', '4627', 'D', '5895', '503', '7445', 'N', 'J', '3217', 'E', 'T', '6463', '631', '1533', '1067', 'C', 'I', '9769', 'n', 'l', 'z', 'K', 's', 7795, 4607, 'B', 2361]