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

Example Input: ['v', 1629, 't', 'y', 'R', 'k', 10021, 7155, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'o', 3491, 'z', 'i', 6959, 865], ['Q', 5541, 6301, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'D', 3297, 8731, 8807, 99, 'h', 3177, 2689, 'H', 'u', 'S', 833]
Example Output: 7241, 8007, N, 4295, O, 6233, 6893, 3293, J, 789, 85, 2423

Example Input: [9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]
Example Output: 2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097

Example Input: ['w', 3355, 7871, 'Q', 291, 97, 'R', 6155, 2865, 'w', 'A', 2433, 'A', 9229, 'Q', 'Y', '955', '8265', 'd', 'd', '9533', '5871', '3861', '5821', 'j', 'd', '21', 'S', '3601', '2951', '6411', 'S', 1087, 5899, 'O', 'q', 307, 'Z'], [3901, 5865, 'X', 'r', 6085, 1915, 9671, 'v', 'T', 'd', 't', 'Y', '955', '8265', 'd', 'd', '9533', '5871', '3861', '5821', 'j', 'd', '21', 'S', '3601', '2951', '6411', 'j', 3335, 475, 'E', 'm', 'j', 'p', 'q', 'W']
Example Output:
Y, 955, 8265, d, d, 9533, 5871, 3861, 5821, j, d, 21, S, 3601, 2951, 6411