The height of a poset is one less than the length of the longest chain.
i1 : n = 5;
i2 : height chain n o2 = 4