In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2289, 'S', 6827, 'a', 'b', 1847, 3653, 'f', 'J', 'i', 4419, 'g', 7765, 's', 'm', 'c', 'Z', 'U', 'B', '6151', '7811', '7321', 'M', 'J', '4405', 'y', 'F', 'L', 'A', 'U', 'p', 'v', 5517, 7173, 4355, 3949, 'G', 'w'], [5369, 'a', 7601, 103, 'w', 'K', 'i', 7227, 4179, 8105, 4099, 'v', 6725, 's', 'm', 'c', 'Z', 'U', 'B', '6151', '7811', '7321', 'M', 'J', '4405', 'y', 'P', 'I', 'v', 'A', 6441]