If you said 40N, then not only were you right, but you just solved your first physics problem! (I hope it was easy.)
Sometimes physics problems can be as straightforward as this one, but most of the time trying to keep track of everything in your head is hard and can lead to errors, so it is useful to have a more formal system.
The first step is to identify what we know and what we need. In this case, we know the tension in the rope and the weight of the block, and we don't know the normal force. We give each of these quantities a variable as a label and write them down. (I'm using ? to signify that this is what we want to solve for.) Because the block is in static equilibrium, we can write