In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8413, 5367, '8959', '1687', 'R', '4323', 'k', 'e', 769], [8259, 1877, 'v', '8959', '1687', 'R', '4323', 'y', 't', 'O']