In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2023, 'T', 'P', 'M', 263, 8763, 2781, 'O', 5817, 9791, 5641, 6007, 'X', 'R', 'z', 7537, 6087, 'X', 'A', '8113', '2617', 'r', '4999', 'A', '2451', '3143', '5743', 'P', 'G', '9679', 'O', '6153', '5317', '5637', 'M', '1823', 'b', '5515', '7069', '8753', '6491', '9329', '1229', 'G', 3913, 's', 8745, 9645, 3711, 8351, 10003, 'J', 'J', 6749, 'B', 787, 'Y', 'q', 'v', 5419, 155, 'o', 4829, 'S', 5423, 'W', 'B', 'r'], [963, 'a', 8781, 1787, 'i', 'X', 'A', '8113', '2617', 'r', '4999', 'A', '2451', '3143', '5743', 'P', 'G', '9679', 'O', '6153', '5317', '5637', 'M', '1823', 'b', '5515', '7069', '8753', '6491', '9329', '1229', 'u', 'O', 9947, 'V', 9567, 5809, 8815, 'Y', 'E', 721, 'E', 'N', 8163, 'W', 'G', 4113, 'K', 9089, 'C', 5327, 9927, 5521, 'U', 7189, 'i']