$2^{13}$.

The total amount distributed was $2 \times 64 \times 64=2 \times 2^6 \times 2^6=2^{13}$.

The total amount distributed was $2 \times 64 \times 64=2 \times 2^6 \times 2^6=2^{13}$.

*This problem is taken from the UKMT Mathematical Challenges.*