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

Ex Input:
[8271, 'H', 'n', 1303, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'z', 'H', 'Z', 'R', 'Z', 17], [6877, 4677, 'A', 623, 'g', 151, 'u', 5045, 1867, 'E', 'M', 1153, 237, 4623, 4963, 'B', 'M', 8311, 6637, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'd', 4251, 'F', 'O', 'J', 4171, 7565, 'F', 9551, 4139]

Ex Output:
P, Z, 8927, S, Z, e, 3463, 5487, w, H, 1071, q, 7193, 2751, 1963, I, H, F, 6399, 1589, 1063, T, 9211, w, 9069, 5757, 2431, G


Ex Input:
[3409, 'W', 7371, 705, 4353, 6055, 1109, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'd', 'r', 5975, 7455, 'P', 7563, 'A', 797, 'm', 'y', 'S'], [851, 'D', 'Z', 't', 'd', 189, 'V', 'o', 8559, 3455, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'x', 'q', 7907, 857, 2245, 5847, 'h']

Ex Output:
2039, 1331, M, 1507, 1583, 9005, 3561, m, 3453, 9927, L, 5625, 3923, 5839, b, a, 1865, l, Z, 4855, 2985, l, 7011, Z, f, 6205


Ex Input:
[2921, 'M', 287, 'l', 3723, 'Z', 'g', 'Q', 'Q', 'Y', 1525, 2753, 'h', 'P', '4361', '8105', '1753', '4937', '1655', '8939', 'N', 'Q', '6089', '2127', '2275', 'Z', '3145', 'x', 'K', 'b', 'y', 's', 1753, 5605, 8983, 2849, 'U', 4835, 33], [771, 2039, 6411, 'x', 'W', 'b', 'h', 2399, 9259, 's', 'w', 9349, 'P', '4361', '8105', '1753', '4937', '1655', '8939', 'N', 'Q', '6089', '2127', '2275', 'Z', '3145', 'x', 'K', 'b', 'D', 'h', 'K', 2269, 'J', 'c', 'd', 7703, 'c', 5443, 5395, 'j']

Ex Output:

P, 4361, 8105, 1753, 4937, 1655, 8939, N, Q, 6089, 2127, 2275, Z, 3145, x, K, b