In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['i', 'Q', 6819, 'w', '9513', '6017', 'F', 'X', 't', '9729', '5965', 'o', 8015, 5659, 6417], ['z', 'c', '9513', '6017', 'F', 'X', 't', '9729', '5965', 'Z', 'O', 1351, 7447, 6705]