$dc-e "[n＝]p?[lfp/dlf%l0＝fdvsr]sf2s2dvsr2sf4s4d2%0＝f3sfd3%0＝f5sf[dlf%l0＝flfdl4+sflr&gt;m]sn[dlf%l0＝flfdl2+sflr&gt;n]dsmx[p]smd1&lt;m"