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

Input: Consider Input: [6403, 3483, 'Z', 'l', '1385', '5787', '7377', '9385', '1545', '1079', 'C', 'K', 'f', 'O', 'W', '3253', 'Y', '2727', '3679', 'C', '4251', '3803', 'y', 'p', 'H', 'U', 9679, 'k', 'K', 3073, 3011, 'u', 'p', 'N', 2433, 9787, 3981, 363], ['n', 'n', 2201, 4585, 'Z', 'q', 921, 'S', 5417, 'l', '1385', '5787', '7377', '9385', '1545', '1079', 'C', 'K', 'f', 'O', 'W', '3253', 'Y', '2727', '3679', 'C', '4251', '3803', 'y', 'p', 'H', 'u', 'P', 4041, 6681, 'n', 'M', 8035]

Output: l, 1385, 5787, 7377, 9385, 1545, 1079, C, K, f, O, W, 3253, Y, 2727, 3679, C, 4251, 3803, y, p, H

Input: Consider Input: [6161, 9929, 'e', 2649, '8399', 'W', 'G', 'l', '3443', 'W', 'F', 'J', 'g', 'r', 'R', '41', 'c', 'c', '87', 'N', '7757', '2641', 'Z', 'v', 'g', '1365', 'R', '6435', 'J', 'Y', 3203, 5389], ['x', 'p', 7335, 4343, 'R', 6755, 'Q', 8319, 'N', 4111, 'a', 'M', 'n', 5739, 'j', 3435, 'J', 6645, 'O', 4833, '8399', 'W', 'G', 'l', '3443', 'W', 'F', 'J', 'g', 'r', 'R', '41', 'c', 'c', '87', 'N', '7757', '2641', 'Z', 'v', 'g', '1365', 'R', '6435', 'P', 'q', 549]

Output: 8399, W, G, l, 3443, W, F, J, g, r, R, 41, c, c, 87, N, 7757, 2641, Z, v, g, 1365, R, 6435

Input: Consider Input: [2741, 'V', 'Y', 'J', 7741, 2725, 'w', 'S', '4801', 'N', 'O', '4209', 'N', '5833', '8279', 'B', 'v', 2979], ['q', 5115, 735, 'r', 'I', 'Y', 3643, 'S', '4801', 'N', 'O', '4209', 'N', '5833', '8279', 'U', 8011, 2491]
Output: S, 4801, N, O, 4209, N, 5833, 8279