Solution to spoj Problem EBOXES added