Image arithmetic is super neat until there's more than two images involved.
file 1
file 2
file 3
file 4