#!/usr/bin/env python3 x=6;y=19 for t in range(3): x=(7*x+5*y+3*t+11)%32;y=(9*y+3*x+5*t+7)%32 print(t,x,y)