In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3229, 333, 9011, 'y', 9977, 4017, 'f', 'O', 'c', 4223, 9121, 's', 'w', 'N', 'p', 'T', 'E', 'I', '5437', '1259', '93', 'b', 'H', 4525, 9585, 8637], ['Y', 8787, 7543, 6905, 7407, 's', 'w', 'N', 'p', 'T', 'E', 'I', '5437', '1259', '93', 'b', 'Y', 'J', 'R', 8489, 1035]