Another simple simulation problem. My solution is here.
Note: Don’t forget to sort the output icon indexes.