In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 'd', '3047', '4725', '2111', '1353', 't', 'b', '973', 'p', 'A', '2543', '4851', '7889', '8609', '7113', '2427', '9907', 'J', '3255', '3531', 'f', 'm', 'f', 'N', 8409, 'L', 'U', 'b', 'c', 'E', 'q', 129, 257, 7151, 1425, 655, 8259, 2417, 'b', 9855, 7375], [2371, 'u', 'P', 'w', 'd', 6403, 'K', 'p', '3047', '4725', '2111', '1353', 't', 'b', '973', 'p', 'A', '2543', '4851', '7889', '8609', '7113', '2427', '9907', 'J', '3255', '3531', 'f', 'm', 'f', 'p', 4161]