I think this is simple. Put few Condition blocks and configure them with these values. But I guess that something else doesn't work you and I don't know what