In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8675, 'Y', 2977, 2491, 3311, 3899, 'p', 'M', 917, '9697', '3537', '6387', '2661', '6633', 'O', '3887', 'H', 'j', '3719', 'K', '1303', 'R', 'e', '9099', 'B', 'd', 'Z', '8549', 'v', '6985', '6915', '7389', 'g', '2809', '5447', 'l', '5385', '7399', 'P', 3561, 'W', 1809, 2783, 'm', 6661, 'i', 2759, 5595, 9393, 'D', 8939], ['Z', 'A', 795, 8399, 'm', 9193, 5553, 2695, 7451, 'T', 'a', 'h', 7197, 'P', 1805, 'm', '9697', '3537', '6387', '2661', '6633', 'O', '3887', 'H', 'j', '3719', 'K', '1303', 'R', 'e', '9099', 'B', 'd', 'Z', '8549', 'v', '6985', '6915', '7389', 'g', '2809', '5447', 'l', '5385', '7399', 'B', 6185, 1027, 7343, 7335, 4263, 'F', 3095, 'f', 'R', 9905, 1065, 'U', 'S', 4691, 'K', 6785, 'g']