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

Ex Input:
[3409, 'W', 7371, 705, 4353, 6055, 1109, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'd', 'r', 5975, 7455, 'P', 7563, 'A', 797, 'm', 'y', 'S'], [851, 'D', 'Z', 't', 'd', 189, 'V', 'o', 8559, 3455, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'x', 'q', 7907, 857, 2245, 5847, 'h']

Ex Output:
2039, 1331, M, 1507, 1583, 9005, 3561, m, 3453, 9927, L, 5625, 3923, 5839, b, a, 1865, l, Z, 4855, 2985, l, 7011, Z, f, 6205


Ex Input:
[2765, 'r', 'p', 'k', 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'p', 'E', 2613, 9463, 55, 'w'], [1351, 'U', 'i', 5485, 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'A', 'n', 'Q', 'z', 'U', 'E']

Ex Output:
G, 6021, 1013, s, f, 6081, 4495, 2193


Ex Input:
[7293, 8079, 5889, 'X', 8747, 1769, 5375, 'q', 'V', 7347, 'N', 't', '1931', '9187', '2607', 'w', 'a', 'L', 'i', '1701', 'h', 3309, 'j', 4075, 841], ['P', 'k', 6727, 5895, 7943, 'T', 'N', 't', '1931', '9187', '2607', 'w', 'a', 'L', 'i', '1701', 'u', 'e', 's', 511, 'K', 'H']

Ex Output:

N, t, 1931, 9187, 2607, w, a, L, i, 1701