In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[935, 'Y', 'd', 1869, 'V', 'n', '2261', '9743', 'K', 3719], ['q', 'P', 7743, 'A', 'V', 'n', '2261', '9743', 'J', 8423, 'o']