philschmid/DMath huggingface dataset:
Category: Comparison

Question (EN): The distance from the house to the school is 11/4 kilometers (km), and the distance from the house to the stationery store is 2.89 kilometers (km). Which is farther from your house, the school or the stationery?
Question (KO): 집에서 학교까지의 거리는 11/4킬로미터(㎞), 집에서 문구점까지의 거리는 2.89킬로미터(㎞)입니다. 집에서 학교까지가 멀까요 아니면 집에서 문구점까지가 멀까요?

Answer: stationery

Solution (Python):
var_a = 'school'
var_b = 'stationery'
list_a= []
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_c = 11
var_d = 4
var_e = var_c / var_d
var_f = 2.89
list_b= []
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_b.append(var_f)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_b.append(var_e)
list_b.reverse()
var_g = 1
list_c=list_b.copy()
list_c.sort()
var_h = list_c[-var_g]
var_i = list_b.index(var_h)+1
var_j = list_a[var_i-1]
print(var_j)
Category: Arithmetic calculation

Question (EN): There are magic bags. The length becomes 10 times longer when a thing gets in and out of the red bag, and the length becomes 1/100 of the original length when a thing gets through the blue bag. Yeonwoo had 13.5 centimeters (cm) of sorghum straw put in and out of the red bag 3 times and the blue bag 2 times. How many centimeters (cm) is Yeonwoo's sorghum straw now?
Question (KO): 마법 주머니가 있습니다. 빨간 주머니에 들어갔다 나오면 길이가 10배가 되고, 파란 주머니에 들어갔다 나오면 길이가 들어가기 전 길이의 1/100 이 됩니다. 연우는 13.5센티미터(㎝)인 수수깡을 빨간 주머니에 3번, 파란 주머니에 2번 들어갔다 나오게 했습니다. 지금 연우의 수수깡은 몇 센티미터(㎝)입니까?

Answer: 1.35

Solution (Python):
var_a = 13.5
var_b = 10
var_c = 3
var_d = var_b ** var_c
var_e = var_a * var_d
var_f = 0.01
var_g = 2
var_h = var_f ** var_g
var_i = var_e * var_h
print('{:.2f}'.format(round(var_i+1e-10,2)))
Category: Comparison

Question (EN): There are students queuing up to get on the bus, and Yoojung is standing at the 5th from the front. If Hoseok stands right behind Yoojung, what place does Hoseok take in the line?
Question (KO): 버스를 타기 위해 학생들이 줄을 서 있습니다. 유정이는 앞에서 부터 5번째에 서 있습니다. 호석이가 유정이 바로 뒤에 서 있다면 호석이는 몇 번째에 서 있을까요?

Answer: 6

Solution (Python):
var_a = 5
var_b = 1
var_c = var_a + var_b
print(int(var_c))
Category: Arithmetic calculation

Question (EN): Consider Namjoon had 15 more pieces of colored paper than what Seokjin had. And Seokjin and Yoongi ended up having the same amount of colored paper after Seokjin gave Yoongi 7 pieces of colored paper. What would be the total amount of colored paper of three people? 
Question (KO): 남준이는 석준이보다 색종이를 15장 더 많이 가지고 있었습니다. 석진이가 윤기에게 색종이 7장을 주었더니 석진이와 윤기가 가지고 있는 색종이는 40장으로 같아졌습니다. 세 사람이 가지고 있는 색종이는 총 몇 장입니까?

Answer: 142

Solution (Python):
var_a = 40
var_b = 7
var_c = var_a + var_b
var_d = 40
var_e = 7
var_f = var_d - var_e
var_g = var_c + var_f
var_h = 40
var_i = 7
var_j = var_h + var_i
var_k = 15
var_l = var_j + var_k
var_m = var_g + var_l
print(int(var_m))
Category: Arithmetic calculation

Question (EN): One bundle of notebooks is 25. 5 bundles were divided into 8 groups of 13 students. How many notebooks have left after dividing to students?
Question (KO): 공책 1묶음은 25권입니다. 공책 5묶음을 학생 13명이 8권씩 나누어 가졌습니다. 학생들이 나누어 가지고 남은 공책은 몇 권입니까?

Answer: 21

Solution (Python):
var_a = 25
var_b = 5
var_c = var_a * var_b
var_d = 13
var_e = 8
var_f = var_d * var_e
var_g = var_c - var_f
print(int(var_g))
Category: Arithmetic calculation

Question (EN): Yongchan walked 1.05 kilometers (km) in 10 minutes. If Yongchan walked 460 meters (m) longer than Min-joo, how many kilometers (km) did Min-joo walk?
Question (KO): 용찬이는 10분 동안 1.05킬로미터(㎞)를 걸었습니다. 용찬이가 민주보다 460미터(m) 더 걸었을 때 민주가 걸은 거리는 몇킬로미터(㎞)입니까?

Answer: 0.59

Solution (Python):
var_a = 1.05
var_b = 460
var_c = 1000
var_d = var_b / var_c
var_e = var_a - var_d
print('{:.2f}'.format(round(var_e+1e-10,2)))
Category: Arithmetic calculation

Question (EN): It is said that 155.2 liters (L) of water is needed to produce 55.99 kilograms (kg) of apples, and the amount of water in one bucket is 2 liters (L). If you produce 1556.5 kilograms (kg) of apples, how many buckets of water are needed?
Question (KO): 사과 55.99킬로그램(㎏)을 생산하는 데 155.2리터(L)의 물이 필요하다고 하고, 한 물통에 들어있는 물의 양은 2리터(L)입니다. 만약 사과 1556.5킬로그램(㎏)을 생산한다면 필요한 물통은 모두 몇 개입니까?

Answer: 2158

Solution (Python):
var_a = 155.2
var_b = 55.99
var_c = var_a / var_b
var_d = 1556.5
var_e = var_c * var_d
var_f = 2
var_g = var_e / var_f
var_h = 1
var_i=int(((var_g+9*10**(var_h-2))//(10**(var_h-1)))*10**(var_h-1))

print(int(var_i))
Category: Correspondence

Question (EN): 345A rounded up to the nearest ten is 3460. Find the total sum of possible values of A.
Question (KO): 345A를 올림하여 십의 자리까지 나타내었더니 3460이 되었습니다. 가능한 A 값의 총 합을 구하시오

Answer: 45

Solution (Python):
var_a = '345A'
ans_dict = dict()
var_a = str(var_a)
list_a = []
variable_candi = set(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])
for v in set(var_a):
    if v in variable_candi:
        ans_dict[v] = 0
candi = list(itertools.product('0123456789', repeat=len(ans_dict)))
for c in candi:
    temp = var_a
    for i, (k, _) in enumerate(ans_dict.items()):
        temp = temp.replace(k, str(c[i]))
    if len(var_a) == len(str(int(temp))):
        new_elem = int(temp)
        list_a.append(new_elem)
var_b = 3460
var_c = 10
var_d = var_b - var_c
list_b = []
for i in list_a:
    if i > var_d:
        list_b.append(i)
var_e = 3460
list_c = []
for i in list_b:
    if i < var_e:
        list_c.append(i)
var_f = '345A'
var_g = 'A'
var_f = str(var_f)
var_g = str(var_g)
unk_idx = var_f.index(var_g)
list_d = []
for elem in list_c:
    elem = str(elem)
    list_d.append(int(elem[unk_idx]))
list_d = list(set(list_d))
list_d = [float(i) for i in list_d]
var_h = sum(list_d)
print(int(var_h))
Category: Geometry

Question (EN): A regular polyhedron has 8 faces. Find the number of edges of this regular polyhedron.
Question (KO): 어떤 정다면체의 면의 개수가 8개입니다. 이 정다면체의 모서리의 개수를 구하시오.

Answer: 12

Solution (Python):
var_a = 4
var_b = 4
var_c = var_a + var_b
var_d = 4
var_e = var_c + var_d
print(int(var_e))
Category: Comparison

Question (EN): Yoongi has 4 apples, Yuna has 5, and Jungkook has 6 divided by 3 apples. Who has the fewest apples?
Question (KO): 윤기는 4개, 유나는 5개, 정국이는 6 나누기 3만큼 사과를 가졌습니다. 누가 가진 사과가 가장 적습니까?

Answer: Jungkook

Solution (Python):
var_a = 'Yoongi'
var_b = 'Yuna'
var_c = 'Jungkook'
list_a= []
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_d = 4
var_e = 5
var_f = 6
var_g = 3
var_h = var_f // var_g
list_b= []
if "/" in str(var_h):
    var_h = eval(str(var_h))
list_b.append(var_h)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_b.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_b.append(var_d)
list_b.reverse()
var_i = 1
list_c=list_b.copy()
list_c.sort()
var_j = list_c[var_i-1]
var_k = list_b.index(var_j)+1
var_l = list_a[var_k-1]
print(var_l)
Category: Arithmetic calculation

Question (EN): Sangcheol is reading a book. Yesterday he read 1/3 of the total, today he read 1/2 of the total. How much did he read in the two days?
Question (KO): 상철이는 책을 읽고 있습니다. 어제는 전체의 1/3을 읽었고, 오늘은 전체의 1/2을 읽었습니다. 이틀 동안 읽은 양은 전체의 얼마입니까?

Answer: 0.83

Solution (Python):
var_a = 0.3333333333333333
var_b = 0.5
var_c = var_a + var_b
print('{:.2f}'.format(round(var_c+1e-10,2)))
Category: Correspondence

Question (EN): Write down what results from 426 multiplied by 0.06.
Question (KO): 426에 0.06을 곱하면 얼마인지 구하시오.

Answer: 25.56

Solution (Python):
var_a = 426
var_b = 0.06
var_c = var_a * var_b
print('{:.2f}'.format(round(var_c+1e-10,2)))
Category: Comparison

Question (EN): Yoon Jeong stood in line at the ticket office to buy a train ticket. How many people are all in line to buy train tickets when there are 6 people waiting in front of Yoon Jeong and Yoon Jeong is the 5th person from the back?
Question (KO): 윤정이가 기차표를 사기위해 매표소에서 줄을 섰습니다. 윤정이 앞에 6명이 기다리고 있고 윤정이는 뒤에서 5번째에 서 있을 때 기차표를 사기위해 줄을 선 사람은 모두 몇 명입니까?

Answer: 11

Solution (Python):
var_a = 6
var_b = 5
var_c = var_a + var_b
print(int(var_c))
Category: Comparison

Question (EN): Jungkook saved as much as 3 divided by 6, and Yoongi saved as much as 4. Whose number is greater?
Question (KO): 정국이는 6에서 3을 나눈 몫 만큼 모았고, 윤기는 4만큼 모았습니다. 누구의 수가 더 큽니까?

Answer: Yoongi

Solution (Python):
var_a = 'Jungkook'
var_b = 'Yoongi'
list_a= []
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_c = 6
var_d = 3
var_e = var_c // var_d
var_f = 4
list_b= []
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_b.append(var_f)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_b.append(var_e)
list_b.reverse()
var_g = 1
list_c=list_b.copy()
list_c.sort()
var_h = list_c[-var_g]
var_i = list_b.index(var_h)+1
var_j = list_a[var_i-1]
print(var_j)
Category: Arithmetic calculation

Question (EN): The amount of water used per day is 215 liters (L). How many liters (L) of water are saved when you save 0.32 times?
Question (KO): 하루에 사용하는 물의 양은 215리터(L)입니다. 0.32배를 절약하였을 때 아낀 물의 양은 몇 리터(L)입니까?

Answer: 68.8

Solution (Python):
var_a = 215
var_b = 0.32
var_c = var_a * var_b
print('{:.2f}'.format(round(var_c+1e-10,2)))
Category: Correspondence

Question (EN): The sum of the weights of the bags of 10 people traveling together on a European tour is divided by 42, there is no rest, and the quotient is 10. Suji, one of the party, bought a souvenir and the bag weighed 50 kg (kg). If the average weight of the bags is 44 kilograms (kg), how many kilograms (kg) does the Suji bag weigh before buying the souvenir?
Question (KO): 유럽 여행 투어를 함께 다니는 일행 10명의 가방 무게의 합은 42로 나눠떨어지고 그 몫은 10이다. 일행 중 한명인 수지가 기념품을 사서 가방 무게가 50킬로그램(㎏)이 되었다. 가방 무게의 평균이 44킬로그램(㎏)가 되었다면 기념품을 사기 전 수지 가방의 무게는 몇 킬로그램(㎏)인가?

Answer: 30

Solution (Python):
var_a = 50
var_b = 44
var_c = 42
var_d = var_b - var_c
var_e = 10
var_f = var_d * var_e
var_g = var_a - var_f
print(int(var_g))
Category: Arithmetic calculation

Question (EN): There is a car that is 20 meters (m) long and travels at 288 centimeters (cm) in one second. When this car takes 25 seconds to get through the tunnel, find the length in meters (m) of the tunnel.
Question (KO): 1초에 288센티미터(㎝) 달리는 20미터(m) 길이의 자가용이 있습니다. 이 자가용이 터널을 완전히 통과하는 데 25초가 걸렸다면 터널의 길이는 몇 미터(m)인지 구해보시오.

Answer: 52

Solution (Python):
var_a = 288
var_b = 100
var_c = var_a / var_b
var_d = 25
var_e = var_c * var_d
var_f = 20
var_g = var_e - var_f
print(int(var_g))
Category: Correspondence

Question (EN): I have two different numbers, A and B. Find B from the two-digit addition equation 6A+B2=77.
Question (KO): 서로 다른 두 숫자 A, B가 있습니다. 두 자리 수끼리의 덧셈식 6A+B2=77에서 B를 구하시오.

Answer: 1

Solution (Python):
var_a = '6A+B2=77'
var_b = 'B'
ans_dict = dict()
var_a = var_a.replace('×','*')
var_a = var_a.replace('x','*')
var_a = var_a.replace('÷','/')
variable_candi = set(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])
for v in set(var_a):
    if v in variable_candi:
        ans_dict[v] = 1
candi = list(itertools.product('0123456789', repeat=len(ans_dict)))
for c in candi:
    temp = var_a
    for i, (k, _) in enumerate(ans_dict.items()):
        temp = temp.replace(k, str(c[i]))
    term_list = []
    op_list = []
    temp_c = ''
    for tc in temp:
        if tc not in '+-*/=><().':
            temp_c += tc
        else:
            op_list.append(tc)
            term_list.append(temp_c)
            temp_c = ''
    term_list.append(temp_c)
    new_eq = ''
    for i in range(len(op_list)):
        new_eq += str(int(term_list[i]))+op_list[i]
    new_eq += str(int(term_list[-1]))
    if len(new_eq) == len(var_a):
        new_eq=new_eq.replace('=', '==')
        new_eq=new_eq.replace('>==', '>=')
        new_eq=new_eq.replace('<==', '<=')
        eval_result = False
        try:
            eval_result = eval(new_eq)
        except:
            pass
        if eval_result:
            for i, (k, _) in enumerate(ans_dict.items()):
                ans_dict[k] = int(c[i])
var_c = ans_dict[var_b]
print(int(var_c))
Category: Arithmetic calculation

Question (EN): We had 8 rabbits and decided to raise 5 more rabbits. How many rabbits are we raising now?
Question (KO): 8마리의 토끼가 있었는데 토끼를 5마리 더 키우기로 했습니다. 키우게 된 토끼는 모두 몇 마리일까요?

Answer: 13

Solution (Python):
var_a = 8
var_b = 5
var_c = var_a + var_b
print(int(var_c))
Category: Possibility

Question (EN): What is the largest three-digit number minus the smallest one that can be formed by choosing three different numbers from 2, 7, 4, and 9?
Question (KO): 2, 7, 4, 9 중에서 서로 다른 숫자 3개를 뽑아 만들 수 있는 세 자리 수 중에서 가장 큰 수에서 가장 작은 수를 뺀 값은 얼마입니까?

Answer: 727

Solution (Python):
var_a = 2
var_b = 7
var_c = 4
var_d = 9
list_a= []
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_e = 3
list_b = [str(i) for i in list_a]
list_b = list(itertools.permutations(list_b, var_e))
list_b = [''.join(num_list) for num_list in list_b]
list_b = [str_num for str_num in list_b if str_num[0] != '0']
list_b = [float(i) for i in list_b]
var_f = 1
list_c=list_b.copy()
list_c.sort()
var_g = list_c[-var_f]
var_h = 1
list_d=list_b.copy()
list_d.sort()
var_i = list_d[var_h-1]
var_j = var_g - var_i
print(int(var_j))
Category: Comparison

Question (EN): Junseop's hair is 9 centimeters (cm) 8 millimeters (mm) long, Taehun's hair is 8.9 centimeters (cm), and Hayul's hair is 9.3 centimeters (cm) long. Which of the three friends has the shortest hair?
Question (KO): 준섭이의 머리카락의 길이는 9센티미터(㎝) 8밀리미터(㎜)이고, 태훈이의 머리카락 길이는 8.9센티미터(㎝)이며, 하율이의 머리카락 길이는 9.3센티미터(㎝)입니다. 세 친구 중 머리카락이 가장 짧은 친구는 누구입니까?

Answer: Taehun

Solution (Python):
var_a = 'Junseop'
var_b = 'Taehun'
var_c = 'Hayul'
list_a= []
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_d = 9
var_e = 8
var_f = 10
var_g = var_e / var_f
var_h = var_d + var_g
var_i = 8.9
var_j = 9.3
list_b= []
if "/" in str(var_j):
    var_j = eval(str(var_j))
list_b.append(var_j)
if "/" in str(var_i):
    var_i = eval(str(var_i))
list_b.append(var_i)
if "/" in str(var_h):
    var_h = eval(str(var_h))
list_b.append(var_h)
list_b.reverse()
var_k = 1
list_c=list_b.copy()
list_c.sort()
var_l = list_c[var_k-1]
var_m = list_b.index(var_l)+1
var_n = list_a[var_m-1]
print(var_n)
Category: Arithmetic calculation

Question (EN): This year, the father is 35 years old, and the son is 5 years old. In how many years does the sum of the ages of the father and son become 60?
Question (KO): 올해 아버지는 35살이고 아들은 5살입니다. 몇 년 후에 아버지와 아들의 나이의 합이 60살이 됩니까?

Answer: 10

Solution (Python):
var_a = 60
var_b = 35
var_c = 5
var_d = var_b + var_c
var_e = var_a - var_d
var_f = 2
var_g = var_e / var_f
print(int(var_g))
Category: Correspondence

Question (EN): When you add 99 to a certain number and multiply that by 17, it becomes 3111. Find that number in question.
Question (KO): 어떤 수에 99를 더한 값에 17배는 3111입니다. 어떤 수를 구하시오.

Answer: 84

Solution (Python):
var_a = 3111
var_b = 17
var_c = var_a / var_b
var_d = 99
var_e = var_c - var_d
print(int(var_e))
Category: Correspondence

Question (EN): If you mistakenly divide 6 by a number, you get 52 when you should have subtracted 40 from the number. What do you get when you calculate correctly?
Question (KO): 40을 어떤 수에 빼야 할 것을 잘못하여 6을 어떤 수에 나눈 결과는 52가 나옵니다. 바르게 계산하면 얼마인가요?

Answer: 272

Solution (Python):
var_a = 52
var_b = 6
var_c = var_a * var_b
var_d = 40
var_e = var_c - var_d
print(int(var_e))
Category: Possibility

Question (EN): Find the largest odd number not more than 300 among the three-digit natural numbers formed by arranging three different numbers from 0, 1, 2, 3, 4, 5, 6, 7, and 8.
Question (KO): 10개의 수 0, 1, 2, 3, 4, 5, 6, 7, 8 중에서 서로 다른 3개의 수를 선택하여 일렬로 배열하여 만든 세자리 자연수 중 300 이하의 가장 큰 홀수를 구하시오.

Answer: 297

Solution (Python):
var_a = 0
var_b = 1
var_c = 2
var_d = 3
var_e = 4
var_f = 5
var_g = 6
var_h = 7
var_i = 8
var_j = 9
list_a= []
if "/" in str(var_j):
    var_j = eval(str(var_j))
list_a.append(var_j)
if "/" in str(var_i):
    var_i = eval(str(var_i))
list_a.append(var_i)
if "/" in str(var_h):
    var_h = eval(str(var_h))
list_a.append(var_h)
if "/" in str(var_g):
    var_g = eval(str(var_g))
list_a.append(var_g)
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_a.append(var_f)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_k = 3
list_b = [str(i) for i in list_a]
list_b = list(itertools.permutations(list_b, var_k))
list_b = [''.join(num_list) for num_list in list_b]
list_b = [str_num for str_num in list_b if str_num[0] != '0']
list_b = [float(i) for i in list_b]
var_l = 300
list_c = []
for i in list_b:
    if i <= var_l:
        list_c.append(i)
var_m = 2
list_d = []
var_m = int(var_m)
for i in list_c:
    i = int(i)
    if i % var_m == 0:
        list_d.append(i)
list_e = list(set(list_c) - set(list_d))
var_n = 1
list_f=list_e.copy()
list_f.sort()
var_o = list_f[-var_n]
print(int(var_o))
Category: Possibility

Question (EN): There are 5 different people. We are trying to select three of them to be the president, vice president, and manager. Find the number of cases.
Question (KO): 서로 다른 5명의 사람이 있다. 이 중 세 명을 뽑아 회장, 부회장, 총무를 시키려고 한다. 경우의 수를 구하여라.

Answer: 60

Solution (Python):
var_a = 5
var_b = 1
var_c = 1
var_d = var_b + var_c
var_e = 1
var_f = var_d + var_e
var_g = 1
var_a = int(var_a)
var_f = int(var_f)
for i, elem in enumerate(range(var_f)):
    var_g = var_g * (var_a-i)
print(int(var_g))
Category: Arithmetic calculation

Question (EN): Yeonju received 1/4 of the total number of notebooks, and Minji received 3/7. If there were 28 notebooks, how many notebooks are left?
Question (KO): 연주는 공책 전체 개수에서 1/4만큼 받았고, 민지는 3/7만큼 받았습니다. 공책이 28권 있었다면 남은 공책은 몇 권 인가요?

Answer: 9

Solution (Python):
var_a = 28
var_b = 1
var_c = 0.25
var_d = var_b - var_c
var_e = 0.42857142857142855
var_f = var_d - var_e
var_g = var_a * var_f
print(int(var_g))
Category: Arithmetic calculation

Question (EN): If a farmer bought 23 chicks and 12 more chicks on the first day and the second day, how many chicks are increased?
Question (KO): 첫번째 날 23마리의 병아리를 두번째 날 병아리 12마리를 더 사왔을 때, 늘어난 병아리는 모두 몇 마리입니까?

Answer: 35

Solution (Python):
var_a = 23
var_b = 12
var_c = var_a + var_b
print(int(var_c))
Category: Arithmetic calculation

Question (EN): Ki-woo used 1/2 of the winnings to buy school supplies and saved 3/8 of the rest. If the remaining money is 2,500 won, how much money did Ki-woo use to buy school supplies?
Question (KO): 기우는 상금의 1/2을 학용품을 사는데 사용하고 나머지의 3/8으로 저축을 했습니다. 남은 돈이 2500원이라면 기우가 학용품을 사는데 사용한 돈은 얼마인가요?

Answer: 4000

Solution (Python):
var_a = 2500
var_b = 1
var_c = 0.375
var_d = var_b - var_c
var_e = var_a / var_d
var_f = 0.5
var_g = var_e / var_f
var_h = 0.5
var_i = var_g * var_h
print(int(var_i))
Category: Possibility

Question (EN): Jihyung is trying to pick up a school supply from a pencil case that contains two pencils of different colors and four erasers of different shapes. How many cases are there in which Jihyung picks up a school supply?
Question (KO): 지형이는 색이 다른 연필 2개와 모양이 다른 지우개 4개가 들어있는 필통에서 학용품 하나를 고르려고 합니다. 지형이가 학용품을 고를 경우의 수는?

Answer: 6

Solution (Python):
var_a = 2
var_b = 4
var_c = var_a + var_b
var_d = 1
var_e = 1
var_c = int(var_c)
var_d = int(var_d)
for i, elem in enumerate(range(var_d)):
    var_e = var_e * (var_c-i)
for i, elem in enumerate(range(var_d)):
    var_e = var_e / (i+1)
print(int(var_e))
Category: Arithmetic calculation

Question (EN): Jinwoo and Seongmin can do 7/12 of the work if they do something for 8 days together. The two of them did this together for 8 days, and the rest was done by Jinwoo alone for 10 days. How many days will it take if Seongmin finishes this task by himself from the beginning?
Question (KO): 진우와 성민이 둘이서 어떤 일을 8일 동안 하면 전체 일의 7/12을 할 수 있습니다. 이 일을 둘이서 8일 동안 함께 하고, 나머지는 진우 혼자서 10일 동안 하여 끝냈습니다. 이 일을 처음부터 성민이 혼자서 하여 끝낸다면 며칠이 걸리는지 구하시오.

Answer: 32

Solution (Python):
var_a = 1
var_b = 0.5833333333333334
var_c = 8
var_d = var_b / var_c
var_e = 1
var_f = 0.5833333333333334
var_g = var_e - var_f
var_h = 10
var_i = var_g / var_h
var_j = var_d - var_i
var_k = var_a / var_j
print(int(eval('{:.2f}'.format(round(var_k+1e-10,2)))))
Category: Correspondence

Question (EN): Adding 4.372 to a number and subtracting 43.72 gives us 16.398. What is the value of subtracting 3.48 from this number?
Question (KO): 어떤 수에서 4.372를 더하고 43.72를 빼었더니 16.398이 되었습니다. 어떤 수에서 3.48을 뺀 값은 얼마인지 구하시오.

Answer: 52.27

Solution (Python):
var_a = 16.398
var_b = 43.72
var_c = var_a + var_b
var_d = 4.372
var_e = var_c - var_d
var_f = 3.48
var_g = var_e - var_f
print('{:.2f}'.format(round(var_g+1e-10,2)))
Category: Arithmetic calculation

Question (EN): Of the 48 roses, 3/8 are red and 5/16 are yellow. Find how many more red roses are there than yellow roses.
Question (KO): 48송이의 장미 중 3/8은 빨간색이고 5/16은 노란색입니다. 빨간색 장미의 수는 노란색 장미보다 몇 송이 더 많은지 구하시오.

Answer: 3

Solution (Python):
var_a = 48
var_b = 0.375
var_c = var_a * var_b
var_d = 48
var_e = 0.3125
var_f = var_d * var_e
var_g = var_c - var_f
print(int(var_g))
Category: Comparison

Question (EN): In a multiplication of two two-digit numbers, you incorrectly saw the tens digit 2 in the number being multiplied as a 6, resulting in a computed value of 2432. Write the smaller of the two two-digit numbers when the correct result is 912.
Question (KO): 두 자리 수끼리의 곱셈에서 곱하는 수의 십의 자리 숫자 2를 6으로 잘못 보고 계산한 값이 2432가 되었습니다. 바르게 계산한 값이 912일 때, 2개의 두 자리 수 중 더 작은 수를 쓰시오.

Answer: 24

Solution (Python):
var_a = 2432
var_b = 912
var_c = var_a - var_b
var_d = 6
var_e = 2
var_f = var_d - var_e
var_g = 10
var_h = var_f * var_g
var_i = var_c / var_h
var_j = 912
var_k = 2432
var_l = 912
var_m = var_k - var_l
var_n = 6
var_o = 2
var_p = var_n - var_o
var_q = 10
var_r = var_p * var_q
var_s = var_m / var_r
var_t = var_j / var_s
list_a= []
if "/" in str(var_t):
    var_t = eval(str(var_t))
list_a.append(var_t)
if "/" in str(var_i):
    var_i = eval(str(var_i))
list_a.append(var_i)
list_a.reverse()
var_u = 1
list_b=list_a.copy()
list_b.sort()
var_v = list_b[var_u-1]
print(int(var_v))
Category: Correspondence

Question (EN): You were supposed to multiply 3 by a number, but mistakenly multiplied 6 by a number, and got 42. Find the result of the correct calculation.
Question (KO): 3에 어떤 수를 곱해야 하는데 잘못하여 6에 어떤 수를 곱했더니 42가 되었습니다. 바르게 계산한 결과를 구하시오.

Answer: 21

Solution (Python):
var_a = 42
var_b = 6
var_c = var_a / var_b
var_d = 3
var_e = var_c * var_d
print(int(var_e))
Category: Correspondence

Question (EN): You had to multiply a number by 6 but mistakenly subtracted instead to get 51. Find the correctly calculated result.
Question (KO): 어떤 수에 6을 곱해야 하는데 잘못하여 뺐더니 51이 되었습니다. 바르게 계산한 결과를 구하시오.

Answer: 342

Solution (Python):
var_a = 51
var_b = 6
var_c = var_a + var_b
var_d = 6
var_e = var_c * var_d
print(int(var_e))
Category: Geometry

Question (EN): Find the area in centimeters (cm) of a rectangle whose length is 4 centimeters (cm) and width is 2 centimeters (cm).
Question (KO): 직사각형의 가로가 4센티미터(㎝)이고 세로가 2센티미터(㎝)인 직사각형의 넓이가 몇 센티미터(㎝)인지 구하시오.

Answer: 8

Solution (Python):
var_a = 4
var_b = 2
var_c = var_a * var_b
print(int(var_c))
Category: Arithmetic calculation

Question (EN): Seokjin is going to the bookstore located on the 4th floor. If Seokjin is currently on the first floor, how many more floors must he go up to get to the bookstore?
Question (KO): 석진이는 4층에 있는 서점에 가려고 합니다. 현재 석진이의 위치가 1층일 때, 서점에 가려면 몇 층을 더 올라가야 합니까?

Answer: 3

Solution (Python):
var_a = 4
var_b = 1
var_c = var_a - var_b
print(int(var_c))