In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[10007, 'Z', 't', 'n', 2903, 'h', 'o', 'd', 'j', '7517', '2503', 'J', 'Q', 'n', 'w', '9329', 't', 'G', 'h', '4017', 't', 'I', '2641', 'c', 'I', 'k', 6115, 'w', 5281, 9281, 'T', 4217, 145, 'H', 'O', 'N', 'C', 6537], ['Z', 'g', 'O', 1181, 3095, 'n', 6257, 'q', 9997, 'C', 'x', 'u', 2325, 'T', 1821, 'R', 5885, 'u', 'h', 'o', 'd', 'j', '7517', '2503', 'J', 'Q', 'n', 'w', '9329', 't', 'G', 'h', '4017', 't', 'I', '2641', 'c', 'I', 'U', 4583, 'q', 3683, 'e', 8091, 'K', 'R', 'i', 'w', 8333, 9081]