The corresponding sides of two triangles △ABC and △PQR are in the ratio 4:23.If ∠B=60∘ and ∠A=40∘, find the measure of ∠R.