{"action":"opened","issue":{"url":"https://api.github.com/repos/davidlukac/AdventOfCode2015/issues/5","labels_url":"https://api.github.com/repos/davidlukac/AdventOfCode2015/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/davidlukac/AdventOfCode2015/issues/5/comments","events_url":"https://api.github.com/repos/davidlukac/AdventOfCode2015/issues/5/events","html_url":"https://github.com/davidlukac/AdventOfCode2015/issues/5","id":122847000,"number":5,"title":"Day 5: Doesn't He Have Intern-Elves For This?","user":{"login":"davidlukac","id":1215290,"avatar_url":"https://avatars.githubusercontent.com/u/1215290?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlukac","html_url":"https://github.com/davidlukac","followers_url":"https://api.github.com/users/davidlukac/followers","following_url":"https://api.github.com/users/davidlukac/following{/other_user}","gists_url":"https://api.github.com/users/davidlukac/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlukac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlukac/subscriptions","organizations_url":"https://api.github.com/users/davidlukac/orgs","repos_url":"https://api.github.com/users/davidlukac/repos","events_url":"https://api.github.com/users/davidlukac/events{/privacy}","received_events_url":"https://api.github.com/users/davidlukac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidlukac/AdventOfCode2015/labels/in%20progress","name":"in progress","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"davidlukac","id":1215290,"avatar_url":"https://avatars.githubusercontent.com/u/1215290?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlukac","html_url":"https://github.com/davidlukac","followers_url":"https://api.github.com/users/davidlukac/followers","following_url":"https://api.github.com/users/davidlukac/following{/other_user}","gists_url":"https://api.github.com/users/davidlukac/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlukac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlukac/subscriptions","organizations_url":"https://api.github.com/users/davidlukac/orgs","repos_url":"https://api.github.com/users/davidlukac/repos","events_url":"https://api.github.com/users/davidlukac/events{/privacy}","received_events_url":"https://api.github.com/users/davidlukac/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-12-17T23:41:06Z","updated_at":"2015-12-17T23:41:06Z","closed_at":null,"body":"# Part One\r\n\r\nSanta needs help figuring out which strings in his text file are naughty or nice.\r\n\r\nA nice string is one with all of the following properties:\r\n\r\nIt contains at least three vowels (aeiou only), like aei, xazegov, or aeiouaeiouaeiou.\r\nIt contains at least one letter that appears twice in a row, like xx, abcdde (dd), or aabbccdd (aa, bb, cc, or dd).\r\nIt does not contain the strings ab, cd, pq, or xy, even if they are part of one of the other requirements.\r\nFor example:\r\n\r\n- ugknbfddgicrmopn is nice because it has at least three vowels (u...i...o...), a double letter (...dd...), and none of the disallowed substrings.\r\n- aaa is nice because it has at least three vowels and a double letter, even though the letters used by different rules overlap.\r\n- jchzalrnumimnmhp is naughty because it has no double letter.\r\n- haegwjzuvuyypxyu is naughty because it contains the string xy.\r\n- dvszwmarrgswjxmb is naughty because it contains only one vowel.\r\n\r\nHow many strings are nice?"}}