In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[Q]: ['g', 305, '8447', 'K', 'y', 'D'], [2445, 5519, '8447', 'K', 't', 'l']
[A]: 8447, K


[Q]: ['l', 581, 4659, 2559, 'f', 'S', '1219', '6225', '515', '5369', 'w', 'V', 7431, 6195, 1731, 'J', 9541], [8813, 7733, 'n', 'a', 'h', 981, 'S', '1219', '6225', '515', '5369', 'w', 'q', 'A', 'U', 'J']
[A]: S, 1219, 6225, 515, 5369, w


[Q]: ['h', 'M', '7991', 'C', '7779', '8159', 'C', 'h', '3847', '6681', '6693', '2417', '4565', 'J', 'O', 'E', 8387, 6775, 'U', 3731, 'S'], [8269, 8177, '7991', 'C', '7779', '8159', 'C', 'h', '3847', '6681', '6693', '2417', '4565', 'W', 'h', 'h', 'w', 'f', 'x', 'l']
[A]:
7991, C, 7779, 8159, C, h, 3847, 6681, 6693, 2417, 4565