In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['V', 8689, 'r', 'a', 'k', '5163', '7945', '2301', '1445', '6335', 'U', '6907', 'T', '3447', '2033', 'P', '9445', '4885', 'I', 'O', 'U', 'X', 'C'], [6401, 8919, 'w', 'x', 795, 715, 4371, 1545, 2249, '5163', '7945', '2301', '1445', '6335', 'U', '6907', 'T', '3447', '2033', 'P', '9445', '4885', 'I', 'O', 'H', 'S', 6705, 4929, 'h', 'L', 1993, 'c', 8413, 'I', 'H', 4895, 'm', 9821]
A:
5163, 7945, 2301, 1445, 6335, U, 6907, T, 3447, 2033, P, 9445, 4885, I, O