Code input system