In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8381, 9129, 9869, 'Z', 'W', 5951, 'N', 'Q', '5137', 'T', '9679', 'N', '9191', 'M', '9505', 'Z', '5825', 'd', '2561', '8959', 'm', '1111', '7793', 'v', 'P', '5257', 'z', 'C', '5531', 'x', '3311', '7041', 'H', '213', 'R', 'E', 'q', 8447, 5033, 6473, 8641, 5715, 'A', 'm', 'F', 9731, 'a', 4259, 'b', 'A', 9735, 'S'], [3967, 3467, 3659, 'm', 1975, 773, 'b', 'L', 'v', 3987, 'D', 9369, 5911, 'L', 2929, 'w', 1635, 4393, 'K', 7309, 2469, 4075, 'a', 2571, '5137', 'T', '9679', 'N', '9191', 'M', '9505', 'Z', '5825', 'd', '2561', '8959', 'm', '1111', '7793', 'v', 'P', '5257', 'z', 'C', '5531', 'x', '3311', '7041', 'H', '213', 'R', 'L', 5847, 2581]