Predict the products of electrolysis of:

molten AlI3

Anode:
O2    H2    Al    I2    

Cathode:
O2    H2    Al    I2