Foam graduation cap