A smart approach to prevent suicide