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

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:
[2449, 'h', 'F', 2217, 'G', 2655, 'k', 'Y', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'q', 9553, 4023, 127], [849, 7901, 'd', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'r', 'A', 'F']

Ex Output:
8427, 2933, x, 2689, 9305, L, 9263, 2671

Ex Input:
[931, 1311, 'E', 1533, 5139, 'i', 'z', 7199, 2643, 'D', '9269', '9091', '2511', 'B', 'g', '607', 'x', 'A', 'o', 'r', 'y', 'i', '6755', '5559', 'T', 'N', 'Q', 39, 'O'], [8135, 5515, 's', 8833, 3897, 'D', '9269', '9091', '2511', 'B', 'g', '607', 'x', 'A', 'o', 'r', 'y', 'i', '6755', '5559', 'T', 't', 'I', 5317, 8585, 5205, 1855, 'y', 3363, 1511, 4761, 'J', 'U', 'I', 4415, 'S']

Ex Output:
D, 9269, 9091, 2511, B, g, 607, x, A, o, r, y, i, 6755, 5559, T