A Simple Way

lc1189