In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3711, 2275, '1409', '7691', 'I', 'Y', '2147', '8665', '7929', 'z', 'x', '2407', 'y', 'Z', '1457', 'B', 'w', 'P', 'c', 'l', 'U', 9471], ['v', 'z', 3635, '1409', '7691', 'I', 'Y', '2147', '8665', '7929', 'z', 'x', '2407', 'y', 'Z', '1457', 'H', 5729, 'p', 'i', 'S', 4131]