CODEVS 3116 (easy)