decode rev and seq ints