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

Ex Input:
[1379, 'n', 1525, 'Y', 'A', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'd', 8015, 10007, 'R', 'K', 'n', 'o', 'U', 3049], ['k', 379, 'M', 'M', 'a', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'q', 'v', 7549]

Ex Output:
9043, 2335, 5029, f, b, 7547, 4275, R, H

Ex Input:
['L', 'B', 'j', 5005, 1135, 6853, '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'i', 9785, 't', 'G', 'r', 'w', 'B', 3093], ['z', 'm', 'J', '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'D', 5163, 4649, 6219, 3227, 6101, 'y', 'K', 'W', 2233, 'n']

Ex Output:
395, 4543, 2301, B, 9275, 7891, 9083, 5417, 7543, 8291, 2655, m, g, 7981, 5703, 1179

Ex Input:
['X', 'b', 6957, 355, 'U', 'F', 1867, 1539, 'h', 4457, 8189, 'i', 6055, 2041, 3455, 'x', 'i', 'c', 'O', 'v', '5699', '5937', 'V', '9579', '691', 's', '6949', 'O', 'T', 'j', 'q', '881', '6113', 'e', '2051', '503', 'v', '4591', 'X', 'u', 'x', 5509, 'B', 'H', 'K', 1165, 'B', 7609, 'G', 'q', 3405, 4291, 747, 1461, 'k', 'e', 'x', 3251, 8489, 6793], ['q', 185, 9355, 5123, 's', 8471, 3845, 'C', 6177, 4155, 'v', 'w', 'f', 'b', 9225, 7797, 'i', 'c', 'O', 'v', '5699', '5937', 'V', '9579', '691', 's', '6949', 'O', 'T', 'j', 'q', '881', '6113', 'e', '2051', '503', 'v', '4591', 'X', 'u', 'E', 7495, 'o', 'H', 245]

Ex Output:
i, c, O, v, 5699, 5937, V, 9579, 691, s, 6949, O, T, j, q, 881, 6113, e, 2051, 503, v, 4591, X, u