look at code
thanks to @ChosenWonsder15 for the original but i made it so workers get 10 days' pay and the owner has infinite