Solved problem 30

Signed-off-by: Kim Seonghyun <shyeon.kim@scipi.net>