Mann Whitney critical value in R is different from the table values


I'm using qwilcox(0.05, 5, 7) to find critical value in R and it gives me the result 7, while in the table with confidence level 0.05 I have the result of 5. Why there is a difference? What command should I use to get critical value of Mann Whitney test?

enter image description here


Answers: