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

Ex Input:
[6987, 'F', 'j', 'E', 'P', 947, 823, 'P', 4655, 'C', 'l', 'R', 'z', 5705, 'I', 'H', 'y', 2167, 7443, 'E', 'F', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'D', 'y', 665, 'P', 'k'], [4453, 'F', 'b', 1309, 'm', 'H', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'p', 'f', 7091]

Ex Output:
d, 567, 1385, d, 1013, Q, 3983, 5891, 6397, 1701, d, v, N, 4551, 9415, 5691, n, 3435, 1485, u, Q, 3191

Ex Input:
[455, 5425, 2307, 'J', 327, 't', 'c', 'b', 6749, 7017, 'W', 'J', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'L', 4491, 'u', 't', 'v', 'P', 'n', 8189, 'C', 'G', 6899, 'L', 9701, 'c', 3957, 7607, 1245, 'M', 'I', 2799], [2217, 'B', 'G', 8865, 'Z', 5559, 'H', 1391, 6963, 'w', 'e', 'f', 9921, 'N', 2189, 'T', 'k', 'n', 6323, 6659, 'm', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'a', 2811, 'K', 'J', 1933, 'X', 'G', 'p', 'X', 'n', 'g', 975, 6475, 'h', 'S']

Ex Output:
7781, g, 7793, 7355, V, 5905, 9737, 1183, x, 4965, h, 7671, X, x, V, 2529, r, 2961, 5337, 993, 8789, 6837

Ex Input:
[4365, 'V', 'C', 3291, 6141, 'H', 'P', 'm', 2533, 'r', 'w', 7759, 8751, 'w', 'H', 'k', 'm', 8049, 'c', 'I', 7861, 'y', 4711, 'h', 'I', 'c', 'q', '1071', 'C', 'i', 'G', '1553', 'r', 'o', 'f', 'L', '6025', '7791', '6307', '4909', '1145', '8239', 'Y', '925', 'm', '7775', '2241', '8347', '2383', '159', 'C', '5115', '5135', 'v', 'I', '6287', 'c', 'N', 3217, 'V', 9431, 'y', 7881, 'K', 'T', 7619, 8937, 'Z', 'n', 'N', 'd', 'i', 637, 'O', 'Q', 'B', 'k', 985, 'D', 1787], ['j', 9141, 8061, 7023, 'r', 'd', 9009, 7637, 'X', 8073, 561, 3163, 4273, 'o', 5669, 'X', 'Z', '1071', 'C', 'i', 'G', '1553', 'r', 'o', 'f', 'L', '6025', '7791', '6307', '4909', '1145', '8239', 'Y', '925', 'm', '7775', '2241', '8347', '2383', '159', 'C', '5115', '5135', 'v', 'I', '6287', 'c', 'r', 's', 275, 'c', 'h', 'f', 4961, 843, 6871, 'N', 1097, 'q', 'p', 'A', 'q', 'g', 'a', 2459, 'e']

Ex Output:
1071, C, i, G, 1553, r, o, f, L, 6025, 7791, 6307, 4909, 1145, 8239, Y, 925, m, 7775, 2241, 8347, 2383, 159, C, 5115, 5135, v, I, 6287, c