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

Input: Consider Input: [7319, 'V', 'f', 't', 'M', 'L'], [4655, 3353, 'f', 't', 'G', 1263]

Output: f, t


Input: Consider Input: ['s', 1831, 3659, 885, 3421, 'S', 9363, 'p', 'Q', 1071, 7201, 6077, 6535, 'o', 3137, 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'I', 'G', 9115, 'S', 5257, 'X', 3061, 1941, 1875, 5597, 2759, 8795, 6655, 5867, 'M', 6725, 5417, 2145, 'a', 1387, 'h'], [1397, 'J', 'g', 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'R', 1233, 'J', 'M', 8625, 't', 'S', 4605, 5553, 'm', 5307, 'V', 4147]

Output: M, D, G, 427, U, 8051, 7119, 4521, y, 2607, 7041, 4119, 9611, 555, B, 9969, x, E, 475, 4687, 6641, H, 2071


Input: Consider Input: ['K', 'v', 661, 'h', 4981, 'd', 's', 5813, 'l', 'p', 'c', 'T', '4075', '7637', '5723', 'T', 'v', '9589', 'U', 'g', 'J', '545', 'x', 'Z', 'w', '1359', 'T', '9301', 'r', 'B', '1415', 'F', 7607, 4989, 'x', 5355, 'V', 9325, 'd', 3531, 'q'], ['O', 9255, 5885, 8671, 6555, 'S', 'u', 'd', 'p', 2635, 5575, 'J', 1865, 'l', 1213, 3019, 6997, '4075', '7637', '5723', 'T', 'v', '9589', 'U', 'g', 'J', '545', 'x', 'Z', 'w', '1359', 'T', '9301', 'r', 'B', '1415', 'z', 'T', 4889, 'U', 'V', 4833, 'r']


Output: 4075, 7637, 5723, T, v, 9589, U, g, J, 545, x, Z, w, 1359, T, 9301, r, B, 1415