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

Input: Consider Input: ['a', 4905, 8389, 9641, 'q', 'K', '1119', 'F', 'N', 'R', '3705', '2745', 'L', '2995', '6385', '1891', 'O', '6759', '2279', 'N', '9215', '5361', 'a', '2215', 'O', '9183', '8603', '1437', '9245', 'F', 'v', 5681, 'Q', 5143, 8875, 'i', 5537, 'f', 'J', 'j', 8747, 'K', 'f', 'z', 983, 'g', 8105, 'q', 4679, 2409], ['G', 'k', 'B', 'm', 'W', 3523, 9719, 'f', 8921, 'N', 6185, 'p', 7841, 'T', 'K', '1119', 'F', 'N', 'R', '3705', '2745', 'L', '2995', '6385', '1891', 'O', '6759', '2279', 'N', '9215', '5361', 'a', '2215', 'O', '9183', '8603', '1437', '9245', 'd', 's', 4795, 'P', 'e', 9789, 9769, 's', 8079, 5909, 8059, 'j', 'o', 'B', 'Z', 6147, 2177, 'L', 'a']

Output: K, 1119, F, N, R, 3705, 2745, L, 2995, 6385, 1891, O, 6759, 2279, N, 9215, 5361, a, 2215, O, 9183, 8603, 1437, 9245


Input: Consider Input: ['T', 5987, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'n', 5107, 'w', 'u'], [6625, 'm', 8849, 3385, 6853, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'a', 'G', 'G', 'e', 3501]

Output: 3759, O, x, 4311, e, 6841, R, d, y, 2745


Input: Consider Input: [3549, 'B', 3847, 2689, 3719, 'S', 'A', 'V', 8961, 5605, 'M', '5479', 'g', 'I', 'e', 'g', '467', '9345', 's', '1509', 'W', 'n', 'O', '469', '627', 'P', 'G', 7915, 1525, 3139, 3875, 3445, 8495, 'g', 3779, 'S', 'M', 6793, 'b'], [3293, 4385, 'U', 409, '5479', 'g', 'I', 'e', 'g', '467', '9345', 's', '1509', 'W', 'n', 'O', '469', '627', 'Q', 8375, 1717, 3133, 7485, 7955, 'R', 2199, 103, 'j', 5241, 't']


Output: 5479, g, I, e, g, 467, 9345, s, 1509, W, n, O, 469, 627