In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7809, 'C', 'w', 'I', 'd', 6371, 'V', '3983', 'l', 'i', '1349', 'w', 'C', '7015', 'p', 'S', 'D', '8077', '8837', 'c', 'a', '7137', '3655', 'W', 'a', 'u', 'h', '2227', '7391', 'F', '9387', 'n', '5685', 'W', 'I', 9257, 959, 'C', 8449, 'd', 'Z', 'A', 2177, 55, 8439, 9043], [9507, 4183, 2615, 4213, 's', 9591, 'b', 559, 7243, 3093, 'g', 9523, 'v', 217, 'j', 'y', 5463, 'M', 'g', 7515, 3025, 'r', 'c', 'V', '3983', 'l', 'i', '1349', 'w', 'C', '7015', 'p', 'S', 'D', '8077', '8837', 'c', 'a', '7137', '3655', 'W', 'a', 'u', 'h', '2227', '7391', 'F', '9387', 'n', '5685', 'W', 'Q', 'J', 'h', 'h', 'Y', 'A', 'U', 'O', 5311, 'p', 6313, 'a', 1909, 'M', 8731]