A computer programming camp has 5 instructors: Alice, Bob, Charlie, Diana, and Edward. Each instructor can teach one of three subjects: Python, Java, or HTML. If each instructor must teach a different subject, how many different ways can the instructors be assigned to subjects?