In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9561, 'w', 6645, 'I', 'y', 'E', '2421', '2347', '3001', '6137', 'c', 'v', '9413', '7733', '7097', 'X', '7093', '571', 'P', 'B'], ['z', 'd', 'd', '2421', '2347', '3001', '6137', 'c', 'v', '9413', '7733', '7097', 'X', '7093', '571', 'a', 5065, 2019, 'V', 2587, 2687, 5293]