print(48,16*('\nplus 3 1 3'+'\ndiv 3 3'*2))