What is the greatest number that, when subtracted from 5834, gives a number that is exactly divisible by each of 20, 20, 32, and 35?