A toy factory has two machines that sort new crayons into boxes. It takes Machine A 4 minutes to make a complete box of crayons. Machine B takes 1 minute less to do half the work of Machine A. If they are working together to create one box of crayons, how long should it take them?