import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { new Main().run(); } void run() { FastScanner sc=new FastScanner(); int W=sc.nextInt(); int H=sc.nextInt(); int X=sc.nextInt(); if ((H%3)*(W%3)*9 list=new ArrayList<>(); for (int i=0;i<4;++i) { int v=Math.min(9,X); list.add(v); X-=v; } int[][] two=new int[600][600]; for (int i=0;i Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }