First law:
A robot may not injure a human being or, through inaction, allow a human being to come to harm.
Second law:
A robot must obey the orders given it by human beings except where such orders would conflict with the first law.
Third law:
A robot must protect its own existence as long as such protection does not conflict with the first or second laws.