class Solution { public int solution(int hp) { int answer = 0; int temp = 0; answer = hp/5; temp = hp % 5; answer += temp/3; temp = temp % 3; answer += temp/1; temp = temp % 1; return answer; } }