Artificial intelligence is useful as well as harmful