In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6017, 2621, 6643, 'i', 'n', 'O', '6775', '9963', '9393', '10031', 'b', 'j', '8283', 's', '1833', 'p', 'W', '1197', 'w', '59', 'j', '9139', 'S', 1937, 1293, 'i', 'r', 465, 4577, 'V', 5201, 'L', 3533, 'X', 7739, 6197, 4201, 'y', 'I', 'D'], [5459, 2117, 'H', 7885, 'n', 'O', '6775', '9963', '9393', '10031', 'b', 'j', '8283', 's', '1833', 'p', 'W', '1197', 'w', '59', 'j', '9139', 'W', 's', 1947, 'f', 'K', 9937, 4031, 3531, 'Q']