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

Ex Input:
[1875, 'T', 'Y', '5527', 'F', 'y', '5669', 'm', 'k', 2655, 8089], [3997, 7707, 9937, 'M', '5527', 'F', 'y', '5669', 'm', 'a', 'e']

Ex Output:
5527, F, y, 5669, m


Ex Input:
[1363, 'O', 'u', '3885', 'y', '2105', '1495', '417', 'n', 9057, 2977], ['x', 'X', '3885', 'y', '2105', '1495', '417', 'X', 2883]

Ex Output:
3885, y, 2105, 1495, 417


Ex Input:
[4551, 3985, 5225, 'F', 'u', 9535, 'e', 'C', 'B', 'v', 'e', 'C', 'p', '195', '7879', 'p', '6759', 't', '9997', 'T', 'I', 'p', '7573', '485', 'U', 'Q', 'P', 'j', 2203, 1485, 'u', 9447, 10029, 'c', 'b', 8803], ['M', 9643, 'J', 'x', 4409, 'r', 891, 773, 9615, 'v', 'K', 7613, 'L', 'C', 'p', '195', '7879', 'p', '6759', 't', '9997', 'T', 'I', 'p', '7573', '485', 'U', 'Q', 'x', 6931, 'I', 6181, 'E', 'k', 'w', 'L', 'C', 'G', 7003, 4791]

Ex Output:

C, p, 195, 7879, p, 6759, t, 9997, T, I, p, 7573, 485, U, Q