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

Input: Consider Input: ['K', 6723, 7053, 'g', 6793, 'h', 'C', 'H', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'T', 'o', 'j', 5777, 3173, 'N', 'Q', 'O', 'm', 4693], ['r', 5349, 503, 'Q', 8435, 'Y', 6633, 'W', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'Q', 'Z', 8433, 'h', 8205, 'm', 6605, 5051, 'w', 'o', 3177, 't', 9005, 'v', 'G']

Output: J, K, 1061, 9585, F, l, 5651, f, P, 9147, 5227, 2861, 6421, V, 1009, 6639, 3701


Input: Consider 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]

Output: 2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097


Input: Consider Input: ['W', 'b', 'U', 'C', 'o', 'B', 'b', 'G', '543', 'T', 'H', '9931', 'C', '5497', 'D', 'q', '5809', '8101', '207', '2729', 'Y', 'W', '857', 's', '6843', 'j', 'X', 'D', 5513, 'Q', 7163, 23, 'F', 'i', 'm', 8841, 275, 'I', 4117, 'r', 'q', 4401, 2491, 829, 'W', 4555, 'P'], [7511, 9115, 'p', 1243, 'B', 9947, 's', 'p', 'T', 'G', 1219, 1187, 'Y', 6583, 'i', 4087, 'm', 7957, 'N', 'U', 'C', 'o', 'B', 'b', 'G', '543', 'T', 'H', '9931', 'C', '5497', 'D', 'q', '5809', '8101', '207', '2729', 'Y', 'W', '857', 's', '6843', 'Y', 1771, 5323, 5795, 'I', 9583, 4427, 't', 5631, 'q', 'r', 'a', 5027, 'i', 'S', 2625, 553, 'O', 'p', 'j', 1095, 'g', 'a']


Output: U, C, o, B, b, G, 543, T, H, 9931, C, 5497, D, q, 5809, 8101, 207, 2729, Y, W, 857, s, 6843