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

Ex Input:
[4339, 'i', 7857, 315, 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'i', 7649, 'F', 'g', 6973], ['r', 5097, 5467, 't', 'N', 'Y', 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'l', 837, 643, 2055, 'J', 'I']

Ex Output:
W, 3573, 689, y, 9557, J, b, 2185


Ex Input:
[4601, 2349, 'b', 'b', 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'u', 7239, 'o', 5437, 5729, 3109], [2629, 9653, 7873, 'T', 6873, 2939, 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'w', 'G']

Ex Output:
o, d, D, M, P, 3119, s, 9507


Ex Input:
[8179, 'P', 4147, 2241, 'J', '9155', 'F', 'r', '2131', '5727', 'r', '9593', 'V', 'C', 3065, 7263, 8447, 9347, 'd', 4463], ['s', 'K', 'o', 'P', 'r', 'J', '9155', 'F', 'r', '2131', '5727', 'r', '9593', 'U', 's', 'E', 'b', 'p']

Ex Output:

J, 9155, F, r, 2131, 5727, r, 9593