In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2937, 'S', 3845, 809, 2393, 'S', 'K', 'j', 'z', 'w', 2015, 'm', 'L', 'g', 3641, 9847, 1311, 8727, 'S', '2643', 'N', '8697', 'y', '8559', '7797', 'Y', '1033', '4123', 'T', '281', '5797', 'F', '4173', 'b', 'n', 'U', '9471', '6413', '8549', 'p', 'h', 2393, 6761, 5959, 'q', 's', 'M', 'u', 'O', 6275, 'X', 6729, 9623], ['k', 2271, 2429, 'H', 6195, 'P', 'G', 1565, 565, 9619, 1897, 'Z', 'j', 'x', 7323, 8035, 'S', '2643', 'N', '8697', 'y', '8559', '7797', 'Y', '1033', '4123', 'T', '281', '5797', 'F', '4173', 'b', 'n', 'U', '9471', '6413', '8549', 'R', 715, 'a', 8779]