In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4109, 'h', 'k', 329, 'w', 'D', '7933', 'd', 'A', 'M', '4921', '877', 'm', 'H', 'G', '9769', '6747', '7241', '6285', '2153', '9843', 'G', 'S', 5903, 951, 1503, 'e', 9665, 1879, 3449, 3177, 'D', 8605, 'G', 'G', 's', 8025, 2725], [8433, 'J', 'v', 1069, 'I', 1817, 6071, 6987, 5711, 8347, 321, 6037, 2759, 'w', 'D', '7933', 'd', 'A', 'M', '4921', '877', 'm', 'H', 'G', '9769', '6747', '7241', '6285', '2153', '9843', 'G', 't', 'd', 6823, 's', 6349, 2935, 8117, 8581, 119, 'O', 2933, 8353, 'S', 'D', 7181, 's', 6533]