Chatting with a neighborhood mechanic, a shop will usually chop the seatpost prior to sale, so you shouldn't have to bother with this far too much but if you do ought to, You should not panic because it can be done! Just for reference this was for your size 51cm https://jeffreyaazrd.onesmablog.com/the-best-side-of-bicycle-chain-66818014