3 Box Solution by Vijay Govindarajan