In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3835, 'w', 8335, 'B', 'O', 'w', 'G', '973', 'd', 'a', 'A', '5085', '625', '3713', 'd', 5831, 1437, 6633, 9369, 'T', 2517, 2429, 'h'], [8813, 3423, 4075, 'H', 6191, 'l', 5999, 8341, 6669, 6319, 'O', 'w', 'G', '973', 'd', 'a', 'A', '5085', '625', '3713', 'I', 1101, 6929, 6935, 1753, 1347, 'Z', 'Z']