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

Input: Consider Input: [7969, 7833, 9069, 'l', 'N', 7935, 7821, 'y', 'q', 'r', 'G', 'O', 'w', 'n', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'M', 'c', 'u', 5133, 'x', 117, 5841, 'd', 'z', 'A', 3299, 'O', 'W', 'E', 'Q', 8547, 'w', 5235, 9011], [2305, 'g', 'Y', 'v', 6105, 'm', 6457, 2715, 'b', 7811, 3401, 'H', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'K', 'Z']

Output: h, j, X, 9705, U, 7943, K, r, 4841, 2141, d, 2007, O, 5005, b, 7367, T, C, t, 6865, Y, 1263


Input: Consider Input: [1951, 'Y', 'v', 5955, 75, 'e', 9911, 3885, 335, 'L', 7871, 'z', 'l', 1047, 7915, 'D', 5831, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'k', 6911, 6063, 4091, 'z', 2951, 'v', 'n', 'a', 'N', 2063, 'o', 'V', 149, 'k', 6117, 7805], ['G', 8737, 1265, 'B', 'Y', 'f', 2407, 2383, 3405, 'u', 'M', 'g', 3985, 9783, 'V', 1525, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'E', 'c', 2823, 2777, 'S', 'f', 't', 's', 'N', 'P', 5597, 'R', 'W', 699, 'f', 'p', 7843, 'y', 3875, 7057, 'u', 'E', 'D']

Output: 3495, a, i, 2657, R, P, N, K, 3765, 9331, 7357, t, p, 6279, p, 4009, T, m, R, z, 1461, 31, 8689, 8807, 7225, 6421, r, 2115


Input: Consider Input: ['x', 'M', 'y', 'a', '3995', '3899', 'q', '557', 'Z', 'f', 9715, 9357, 'o', 'V', 't'], [6817, 'p', 9729, 'C', 't', 'i', 'a', '3995', '3899', 'q', '557', 'Z', 'a', 6801, 'p', 2421, 5275, 1303]


Output: a, 3995, 3899, q, 557, Z


