A computer and printer cost a total of $908. The cost of the computer is three times the cost of the printer. Find the cost of each item.