In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[41, 'w', 8139, '9929', 'w', 'J', 'J', 'C', '9557', 'c', '8373', '1787', 'R', 'E', 'r', '6413', 'f', '7201', 'Z', 'O', 'i', 1769, 4877, 'A', 3055], ['Z', 'O', 7585, 8115, 741, 9977, 873, 8713, '9929', 'w', 'J', 'J', 'C', '9557', 'c', '8373', '1787', 'R', 'E', 'r', '6413', 'f', '7201', 'Z', 'O', 'U', 8347, 'l', 4433, 9325, 'i', 'a', 4373]