This is macros for saving three last inputs. Check combo function is the same i provided before. For time management just clear array if n-time passed after last key stroke