In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 'S', 'f', 8665, 1225, 9003, 395, 'E', 4637, 4789, 'o', 'Q', 'S', '4893', 'u', '9697', '7703', '417', 'F', '973', '8717', 'q', 'k', '6139', 'H', '3229', '1263', 'j', '377', '4557', '8569', '3481', 'K', '7325', '7159', 'H', 'e', 'Q', 9149, 'l', 2611, 3725, 7635, 5873, 'p', 'r', 3373, 3245, 'M'], [6193, 53, 4353, 8021, 1359, 'q', 1219, 3201, 7199, 'y', 'u', 2981, 'G', 'q', 'O', 't', 'E', 793, 3833, 3797, 8343, 529, 7167, 'S', '4893', 'u', '9697', '7703', '417', 'F', '973', '8717', 'q', 'k', '6139', 'H', '3229', '1263', 'j', '377', '4557', '8569', '3481', 'K', '7325', '7159', 'H', 'e', 'x', 6373, 2107, 'T', 9781]