Ad-hoc Heavy-implementation - Preparation to IOI Part 1