けんき says to YSITD
min(a,min(b,min(c,d)))