In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6965, 83, 5609, 'j', 's', 'P', 'z', 5125, 'p', 'r', '8549', 'x', '3719', '9771', 'l', 'E', 'F', '5065', 'e', 'I', 'a', '4801', 'K', 9223, 3973, 'q', 5267, 4451, 8243, 6017, 'U', 131, 'U'], [785, 'h', 'O', 'v', 4003, 'H', 4863, '8549', 'x', '3719', '9771', 'l', 'E', 'F', '5065', 'e', 'I', 'a', '4801', 'g', 'B', 5093, 873, 4375]