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

[EX Q]: ['j', 'Q', 2919, 2195, 'P', 'H', 'r', 'P', 5051, 'Y', 'W', 8151, 3411, 'L', 'v', 'k', 5531, 'm', '789', '421', '5807', '3707', 'h', '4147', 'G', '4797', 'm', 'v', '151', '5001', 'r', '2637', '9981', '4791', 'G', '5173', '5059', 'O', '4437', 'X', 'R', 'g', '1989', 'q', 'i', 'R', 1973, 'm', 3695, 'I', 7909, 'q', 2515, 7659, 'n', 'M', 2121, 4117, 'J', 'Y', 9869, 5551, 8069, 7393, 'Q', 'z', 5551, 'B', 's'], ['W', 9301, 'y', 2707, 5039, 1905, 1657, 'A', 7213, 1975, 9875, 8915, 'R', 1127, 1599, 1615, 2069, 'B', 5781, 'v', 127, 435, 9967, 'r', 'm', '789', '421', '5807', '3707', 'h', '4147', 'G', '4797', 'm', 'v', '151', '5001', 'r', '2637', '9981', '4791', 'G', '5173', '5059', 'O', '4437', 'X', 'R', 'g', '1989', 'X', 'O', 7793, 'Z', 'u', 3029]
[EX A]: m, 789, 421, 5807, 3707, h, 4147, G, 4797, m, v, 151, 5001, r, 2637, 9981, 4791, G, 5173, 5059, O, 4437, X, R, g, 1989

[EX Q]: ['N', 'V', 'O', 'x', 1311, 'v', 'd', 8727, 6043, '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'a', 'T', 3027, 'l', 5595], ['r', 'K', 'R', 6379, 'o', 'w', '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'x', 'q', 'p', 'Q', 'D', 'B', 9451, 'w', 2131]
[EX A]: 5765, 7781, 5561, S, b, F, 7789, 6181, N, 6861, 9347, 6701, 3981, 4855, B, 7527, X, v, D, 9489

[EX Q]: ['C', 'b', 'L', 9325, 'M', 'p', 7813, 'J', '1879', 'l', '6011', '8425', '5761', '8567', '529', '3079', '2611', '9387', '909', '751', 'Q', 4393, 'x', 5071, 6297], [347, 'W', 8317, 'm', 655, 2215, 9489, 9125, 7317, 'J', '1879', 'l', '6011', '8425', '5761', '8567', '529', '3079', '2611', '9387', '909', '751', 'L', 6565, 5537, 'C', 'S', 543, 5541, 'Z', 'q', 'W', 8259, 9311]
[EX A]:
J, 1879, l, 6011, 8425, 5761, 8567, 529, 3079, 2611, 9387, 909, 751