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

Ex Input:
[4005, 'l', 'F', 4041, 'D', 5853, 'w', 'U', 'w', 'B', 'R', 'S', 4969, 'i', 3323, 889, 'N', 'I', 'T', '3715', 'l', '7103', '5669', 'd', '6091', '6783', 'g', '2319', '5827', 'l', '9691', '2421', 'W', '8085', 'p', 4245, 'H', 'v', 5431, 'q', 'w', 'g', 'u', 'l', 9089, 's', 6469, 'P', 'r'], [625, 'R', 2937, 6877, 'I', 'T', '3715', 'l', '7103', '5669', 'd', '6091', '6783', 'g', '2319', '5827', 'l', '9691', '2421', 'W', '8085', 'O', 's', 'k', 'b', 719, 'F', 779, 295, 3669, 'h', 't', 305, 677]

Ex Output:
I, T, 3715, l, 7103, 5669, d, 6091, 6783, g, 2319, 5827, l, 9691, 2421, W, 8085


Ex Input:
['W', 'Y', 'y', 'A', 'm', '6915', '3285', 'd', '1035', 'H', 'J', '7549', 'P', '5301', 'q', '4057', 'H', '5697', 'H', '5141', 'H', 2451, 'x', 3307, 'A', 7121, 'b', 3319], ['M', 'L', 5827, 'I', 'r', 'f', '6915', '3285', 'd', '1035', 'H', 'J', '7549', 'P', '5301', 'q', '4057', 'H', '5697', 'H', '5141', 'N', 3371, 691]

Ex Output:
6915, 3285, d, 1035, H, J, 7549, P, 5301, q, 4057, H, 5697, H, 5141


Ex Input:
['L', 3235, 6117, 529, 3387, 'n', 'H', 3047, 'b', '8499', '671', '6951', '4059', '3473', 'P', 'V', 'a', 4015, 'p', 'U', 'A', 'K', 'i', 619], [8321, 8173, 2453, 'b', '8499', '671', '6951', '4059', '3473', 'P', 'V', 'J', 'D', 6853, 'A', 'I', 8391]

Ex Output:

b, 8499, 671, 6951, 4059, 3473, P, V