The program finds an answer to exchange maximum gifts from giving money; for "digital" convenient store.