Find the highest common factor

Question 1:

40 and 180

20

Question 2:

45 and 150

15

Question 3:

3600 and 96

48

Question 4:

900 and 400

100