In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1401, 5467, 7309, 'l', 783, 'y', 'f', '4807', 'Q', '4241', '505', '655', '7623', '6053', '2327', 'n', 'Q', 'g', 'U', '3717', 'L', '8545', 'M', '3177', 's', '3469', '5575', '215', '6135', '5991', 'X', 'p', 'i', 2677, 'F', 'V', 1335, 6513, 1081], ['H', 'j', 6919, 9791, 8351, 7251, 'q', 8639, 8951, 'p', 537, 'J', 'H', 7021, 'l', 4599, 'r', 'X', 'V', 'y', 'f', '4807', 'Q', '4241', '505', '655', '7623', '6053', '2327', 'n', 'Q', 'g', 'U', '3717', 'L', '8545', 'M', '3177', 's', '3469', '5575', '215', '6135', '5991', 'c', 4041, 'f', 3337]