CODEVS 1007 (easy)