Screenshot_2016-07-14-08-59-20

As always, sort all logical functions by priorities from top to bottom, that is how the system evaluates them.