Out of Gas solutions

Out of Gas was solved using MATLAB by 2 contestants. Solution sizes: average 2512 bytes (shortest: 2410; longest: 2615).