In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7971, 'D', 8507, 6541, 'L', 3089, 's', 2835, 'c', 7871, 9425, 2245, 'O', 8905, 3503, 'p', 'G', 'D', '7911', '7675', '3117', '8679', '6563', '7651', 'o', 'z', '3023', 'I', '1617', 'r', '9463', 'Y', 'S', 'e', 3257, 5357, 'a', 'B', 'g', 'O', 'f', 'O', 'O', 1547, 3153, 'h', 'T', 4481, 'w', 3375, 3477], ['e', 799, 'W', 'p', 'G', 'D', '7911', '7675', '3117', '8679', '6563', '7651', 'o', 'z', '3023', 'I', '1617', 'r', '9463', 'Y', 'S', 'L', 'E', 'h', 'U', 'W', 10027, 'V', 'e', 2249, 'a', 6657, 257]