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

Ex Input:
[2087, 'D', 815, 'a', 6837, 'U', 1683, 9549, 'Q', 4313, 2991, 8685, 'Q', 1253, 'O', 9367, 4835, 5191, 'L', 'e', '9385', '2631', '5849', '2469', 'S', 'Y', '967', '2589', '9057', '9315', '9591', '5801', 'B', '5991', 'g', '7317', '4923', 'L', 'B', 'N', '8863', 'v', 'q', '2887', 'f', '9939', 'd', 'i', 'a', 'S', 7967, 'N', 'r'], [8841, 'y', 'F', 1845, 'X', 's', 8663, 'B', 'h', 5885, 'p', 5555, 3051, 2359, 'q', 'm', 2675, 53, 'U', 7017, 8161, 4755, 'B', 5367, 8577, 'H', 4223, 'e', '9385', '2631', '5849', '2469', 'S', 'Y', '967', '2589', '9057', '9315', '9591', '5801', 'B', '5991', 'g', '7317', '4923', 'L', 'B', 'N', '8863', 'v', 'q', '2887', 'f', '9939', 'd', 'Z', 'R', 'X', 'j', 'T', 'N', 'V', 2931, 'X', 'g', 'P', 2979, 'o', 'B', 8283, 'r', 'D', 1051, 'E']

Ex Output:
e, 9385, 2631, 5849, 2469, S, Y, 967, 2589, 9057, 9315, 9591, 5801, B, 5991, g, 7317, 4923, L, B, N, 8863, v, q, 2887, f, 9939, d


Ex Input:
['V', 519, 867, 5473, 'n', 6997, 7391, 6371, 5779, 'T', 'L', '8535', '5719', 'q', 'B', 'a', 'E', 'l', 'f', '2919', 'd', 'O', '9587', '2747', '6013', '2123', '5861', 'u', '8197', '7743', 'i', '5239', '1005', '5993', '4027', 'a', 'R', 8701, 555, 3653, 9055, 'l', 9335, 8087, 7439, 'n', 2233, 'L', 683, 'L', 'e', 2673, 5767], [5361, 3329, 867, 'n', 2379, 'S', 4679, 'M', 1831, 'I', 'm', 'E', 'E', 'u', 2107, 'u', 7779, 1113, 't', 2959, 'T', 'L', '8535', '5719', 'q', 'B', 'a', 'E', 'l', 'f', '2919', 'd', 'O', '9587', '2747', '6013', '2123', '5861', 'u', '8197', '7743', 'i', '5239', '1005', '5993', '4027', 'm', 5943, 2765, 9589, 'O', 'B', 'e', 6097, 6003, 1049, 'i']

Ex Output:
T, L, 8535, 5719, q, B, a, E, l, f, 2919, d, O, 9587, 2747, 6013, 2123, 5861, u, 8197, 7743, i, 5239, 1005, 5993, 4027


Ex Input:
[531, 7519, 'g', '2629', 'Y', 10029], ['P', 'B', 'g', '2629', 'b', 1561]

Ex Output:

g, 2629