340 Heads
x heads are 340 heads and the j's are 360 heads
Print