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

Input: Consider Input: ['g', 6485, 9363, 'd', 'C', '7381', 'E', '3625', '8935', '4975', '4199', 'w', '4225', '9911', '4731', 'V', 'K', 2283, 7681, 'G', 1655, 'Y', 5095, 'b', 'x', 'V'], ['N', 'b', 'd', 't', 6171, 3157, 'y', 7821, 8523, 9675, 'd', 'C', '7381', 'E', '3625', '8935', '4975', '4199', 'w', '4225', '9911', '4731', 'G', 6357, 2383, 'j', 'N', 383]

Output: d, C, 7381, E, 3625, 8935, 4975, 4199, w, 4225, 9911, 4731


Input: Consider Input: ['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]

Output: h, z, 6979, W, W, 7681, s, 8827


Input: Consider Input: [6415, 'I', 5683, 1821, 5363, 9303, 'd', '1637', 'm', '3061', '5441', '8271', '1541', '6285', 'Y', 'x', 397, 811, 2329], [9531, 'M', 3069, 't', 'X', 'w', 'd', '1637', 'm', '3061', '5441', '8271', '1541', '6285', 'Y', 'G', 9509, 'i', 's', 9467, 4327, 'J']


Output: d, 1637, m, 3061, 5441, 8271, 1541, 6285, Y