In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8257, 6109, 6657, 7039, 4349, 8219, 'D', 'I', 2141, 2209, 6415, 4837, 'J', 'v', 'U', 9885, 'g', 's', 2879, 'v', 'T', 'u', 'A', '9239', 's', '6937', 'Q', 'C', 'E', '7851', '4793', 'Q', '431', 'T', 'Y', 'G', '1379', '6121', 'V', '9361', 'P', 'D', '8069', '3435', '5141', '4169', '3275', '137', 'U', 3455, 6365, 'Y', 313, 'C', 'S', 2441, 'v', 'I', 'x'], [1789, 'h', 5677, 'D', 6071, 'R', 6857, 'n', 6263, 'y', 'A', '9239', 's', '6937', 'Q', 'C', 'E', '7851', '4793', 'Q', '431', 'T', 'Y', 'G', '1379', '6121', 'V', '9361', 'P', 'D', '8069', '3435', '5141', '4169', '3275', '137', 'Q', 'z', 'r', 'x', 3275, 6511, 'p', 'p', 'y', 'w']