In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['c', 5719, 'Y', 1805, 'v', '7059', 'I', '3893', 'd', 'u', 'P', 'g', 2187, 'V'], [4923, 'J', 'Y', 9851, 4027, 'b', 'v', '7059', 'I', '3893', 'd', 'u', 'P', 'O', 'w', 9747, 'l', 4697, 8185]