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

Ex Input:
[5533, 1777, 525, 1125, 'f', 's', 'c', 'u', 'c', 'T', 'j', '4947', 'S', 'z', 'j', '2697', 'L', '7579', 'p', '7965', '165', 'F', 'b', 5943], [83, 'k', 581, 'e', 'e', 'p', 397, 'I', 'v', 'T', 'j', '4947', 'S', 'z', 'j', '2697', 'L', '7579', 'p', '7965', '165', 'F', 'T', 503, 4925, 'K', 8507, 'V', 'r', 1103, 8441, 7065, 17, 3791, 8703]

Ex Output:
T, j, 4947, S, z, j, 2697, L, 7579, p, 7965, 165, F


Ex Input:
['r', 9177, 1593, 9315, 'C', 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'A', 2489, 3955, 1603, 6355], ['I', 'W', 7673, 'm', 'E', 9111, 4177, 9355, 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'v', 9065, 2309, 5041, 1047, 1263, 'V', 3483]

Ex Output:
Z, w, X, 1005, 185, 837, p, 2923, Y


Ex Input:
['R', 'p', 'U', 'a', 8099, 1239, 'M', 'r', '6623', '4109', '8309', '1849', 'O', 'D', '7303', '1415', '5589', 'H', '1125', 'r', 'e', 'Y', 1121, 'j', 9389, 's', 2075, 3761], [3883, 7655, 'L', 'n', 5425, '6623', '4109', '8309', '1849', 'O', 'D', '7303', '1415', '5589', 'H', '1125', 'h', 'm', 1209]

Ex Output:

6623, 4109, 8309, 1849, O, D, 7303, 1415, 5589, H, 1125