add uncoupled int java solution