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

Ex Input:
[8039, 4457, 'z', 3519, 'q', 'T', 'k', 'b', 'H', 'W', 'H', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'd', 1527, 'o', 1393, 't', 7653], ['g', 2437, 'm', 'b', 2347, 'Q', 6719, 2049, 6643, 'B', 6919, 1873, 'K', 9319, 6729, 'Z', 'E', 8011, 7953, 'M', 1121, 'k', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'o', 1481, 867, 'B', 29]

Ex Output:
5561, 1389, 6389, 6923, 339, Q, 5837, D, z, F, 4743, 7197, 1407, 9711, 4355, 4027, 2219, w, S, Z, f, 4091, 2571


Ex Input:
[3707, 6473, 'o', '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'G', 9269, 5835, 2723, 'm', 'n', 6209], [7513, 4579, 6017, 7723, '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'w', 'T', 'g', 'M', 'V']

Ex Output:
495, 3897, O, x, 2409, 6843, 3477, 5411


Ex Input:
[5987, 'F', 8091, 8071, 3797, 985, 'Z', 's', 6363, 2757, 6495, 2581, 'V', '1905', 'a', 'H', '1103', 'L', 'O', 'P', '4087', 'p', 'z', '917', 'g', 'C', '3361', 'E', '9293', '2491', '7061', '2677', '1031', '223', 'I', '2965', 'z', 6515, 2041, 'W', 'X', 'i', 5365, 'p', 5281, 'V', 2191, 'n', 3401, 5611, 'X', 'b', 8759, 79, 9971, 2969, 4115, 'g'], ['y', 'j', 'n', 7695, 'd', 3081, 'I', 'V', '1905', 'a', 'H', '1103', 'L', 'O', 'P', '4087', 'p', 'z', '917', 'g', 'C', '3361', 'E', '9293', '2491', '7061', '2677', '1031', '223', 'I', '2965', 'B', 'R', 7087, 5941, 'd', 'J', 995, 8603, 1317, 9275, 3525, 6883, 'L', 't', 7445]

Ex Output:

V, 1905, a, H, 1103, L, O, P, 4087, p, z, 917, g, C, 3361, E, 9293, 2491, 7061, 2677, 1031, 223, I, 2965