In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 'c', 'G', 'd', 'f', '9551', 'm', 'd', '2761', 'y', 't', '4599', '3253', 'E', '4171', '5439', 'q', 2679, 9397, 7359, 499], ['I', 5965, 4595, 'L', 'P', 1361, 1795, 'J', 'f', 't', '9551', 'm', 'd', '2761', 'y', 't', '4599', '3253', 'E', '4171', '5439', 'N', 'u', 8517]