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

Input: Consider Input: ['R', 'r', 153, 'P', 1715, 757, 'K', 685, 1275, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'l', 8075, 'x', 3879, 'g', 1215, 2387, 'E', 9305, 'L', 't', 'B', 7409, 7623, 7913], ['A', 'P', 'm', 5825, 'S', 2069, 7235, 4509, 'K', 6535, 979, 'f', 9051, 2423, 'R', 'l', 'q', 9429, 'l', 803, 'j', 2081, 5321, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'z', 9157, 5891, 'g', 'z', 707, 4039, 293, 'S', 'B', 'b', 2399, 'l', 1277, 'F', 3399, 1459]

Output: 9653, 3305, 853, s, f, y, v, d, E, 4893, 9515, O, 9527, R, C, 8621, P, O, s, 1455, 5259, 5561, 5147, G, e


Input: Consider Input: ['w', 9889, 'I', '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'Q', 4079, 8567, 5331, 6035, 't', 6147, 5597, 6117, 'w', 'g', 'R', 'G', 7597, 581, 8473], ['T', 'B', 1003, 'E', 5935, 'a', 7777, 'N', 't', 'w', 9123, 965, 'F', 9067, 'g', 6129, 6545, 977, 'r', 'H', 6793, '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'V', 2257, 323, 'T', 'c', 'w', 3529, 9379, 'J', 779, 'W', 'd']

Output: 8971, 7631, 9073, Y, O, R, q, 8353, 6125, 8191, x, 3121, Z, 7817, x, K, 9307, A, 19, 2297, C, Y, t, D


Input: Consider Input: [2493, 'O', 'f', '8325', '2089', '7949', 'C', 'h', '1941', '7945', 'W', '5605', 'v', 'U', '7241', '6031', 'v', 'T', 6225, 'D', 'z', 3235, 1239], [735, 2669, 5703, 'j', '8325', '2089', '7949', 'C', 'h', '1941', '7945', 'W', '5605', 'v', 'U', '7241', '6031', 'p', 707, 'Z', 'A', 9683]


Output: 8325, 2089, 7949, C, h, 1941, 7945, W, 5605, v, U, 7241, 6031