In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 3517, 7353, 1665, 'm', 8391, 3127, '939', '781', 'I', '4329', '3333', 'j', 'p', '7835', 'x', 'g'], [7955, 'h', 9279, 'j', 2115, 8495, 7757, '939', '781', 'I', '4329', '3333', 'j', 'p', '7835', 'Q', 5875, 'B', 't', 'v', 4031]