ABC001D (Ruby) AC