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

Example Input: ['c', 'h', 9399, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'i', 'W', 'T', 9917, 'F', 'g', 8159], [4949, 'I', 'r', 4087, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'z', 9843]
Example Output: U, e, 1183, 9537, K, e, p

Example Input: ['i', 'n', '7509', '7241', 'V', 'k', 205, 'H'], ['s', 4349, 7023, '7509', '7241', 'V', 'O', 't', 9237]
Example Output: 7509, 7241, V

Example Input: ['F', 'g', 'h', 2605, '1179', '6619', '2927', 'T', 'Q', '1939', 's', 8407, 'W', 8071, 'A', 5465], [8465, 6683, '1179', '6619', '2927', 'T', 'Q', '1939', 'e', 7595, 'n', 8667]
Example Output:
1179, 6619, 2927, T, Q, 1939