AC Distinct Subsequences