prints precedence transition to stdout