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', 5429, 'G', 'h', 'i', 4385, 'l', 'w', '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 'l', 6255, 9841, 7339], [5463, 'Y', 1105, 'Z', 6887, 'G', 9653, 'v', 6241, 1865, '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 't', 7945, 'T', 'l', 6697, 'k', 'J', 57]

Output: 4889, j, i, P, 1977, 9281, N, s, y, 3049, E, w


Input: Consider Input: ['i', 4077, 'Z', 6231, 2337, 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'd', 1355, 'n'], [505, 'A', 8789, 75, 'q', 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'e', 'r', 'I', 'm', 1525, 3577]

Output: h, 1181, 1631, 2605, 587, 1477, 2707, R, O


Input: Consider Input: [7883, 'S', 2669, 'o', 'y', 'I', 't', '3929', '2053', '7977', 'R', '3667', '7915', '8365', 'j', 683, 'N', 3659, 6287, 465], ['V', 'o', 7651, 'q', 5401, '3929', '2053', '7977', 'R', '3667', '7915', '8365', 'O', 7935, 8573, 'o', 'e']


Output: 3929, 2053, 7977, R, 3667, 7915, 8365