A box of size $a$ cm by $b$ cm by $c$ cm is to be wrapped with a square shaped piece of wrapping paper. Cutting the paper is not allowed so what is the smallest square this sheet can be?